Commit 330d3a7d authored by Sergei Golubchik's avatar Sergei Golubchik

missing cast added

parent ffdbdd7f
...@@ -185,7 +185,7 @@ void *my_realloc(void *oldpoint, size_t size, myf my_flags) ...@@ -185,7 +185,7 @@ void *my_realloc(void *oldpoint, size_t size, myf my_flags)
/* memory moved between system and thread specific */ /* memory moved between system and thread specific */
update_malloc_size(-(longlong) old_size - MALLOC_PREFIX_SIZE, old_flags); update_malloc_size(-(longlong) old_size - MALLOC_PREFIX_SIZE, old_flags);
update_malloc_size((longlong) size + MALLOC_PREFIX_SIZE, update_malloc_size((longlong) size + MALLOC_PREFIX_SIZE,
my_flags & MY_THREAD_SPECIFIC); test(my_flags & MY_THREAD_SPECIFIC));
} }
else else
update_malloc_size((longlong)size - (longlong)old_size, old_flags); update_malloc_size((longlong)size - (longlong)old_size, old_flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment