diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-02-04 11:47:57 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-02-04 11:47:57 +0100 |
commit | 330d3a7d1f29e57da867b0ab2b138e5e95fb4415 (patch) | |
tree | 38bbcb8c9bb5b66695bf85a3b6c4beef51792e3a | |
parent | ffdbdd7feb0dc4bbb48aa7454168bf36de99d022 (diff) | |
download | mariadb-git-330d3a7d1f29e57da867b0ab2b138e5e95fb4415.tar.gz |
missing cast added
-rw-r--r-- | mysys/my_malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_malloc.c b/mysys/my_malloc.c index 8d1a3d926d6..5a84b051a23 100644 --- a/mysys/my_malloc.c +++ b/mysys/my_malloc.c @@ -185,7 +185,7 @@ void *my_realloc(void *oldpoint, size_t size, myf my_flags) /* memory moved between system and thread specific */ update_malloc_size(-(longlong) old_size - MALLOC_PREFIX_SIZE, old_flags); update_malloc_size((longlong) size + MALLOC_PREFIX_SIZE, - my_flags & MY_THREAD_SPECIFIC); + test(my_flags & MY_THREAD_SPECIFIC)); } else update_malloc_size((longlong)size - (longlong)old_size, old_flags); |