Small change

This commit is contained in:
Federico Cecchetto 2022-03-26 20:03:42 +01:00
parent 36fefa6bb5
commit 39b9e7e352

View File

@ -53,7 +53,7 @@ namespace signatures
{
char bytes[4] = {0};
const auto string_ptr = find_string_ptr(string);
memcpy(bytes, &string_ptr, sizeof(size_t));
memcpy(bytes, &string_ptr, sizeof(bytes));
return find_string_ptr(bytes);
}