about summary refs log tree commit diff
path: root/qemu_mode/libqasan/dlmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu_mode/libqasan/dlmalloc.c')
-rw-r--r--qemu_mode/libqasan/dlmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu_mode/libqasan/dlmalloc.c b/qemu_mode/libqasan/dlmalloc.c
index 1919ae26..d1d4dc08 100644
--- a/qemu_mode/libqasan/dlmalloc.c
+++ b/qemu_mode/libqasan/dlmalloc.c
@@ -2355,7 +2355,7 @@ typedef unsigned int         flag_t;   /* The type of various bit flag sets */
 
   /* conversion from malloc headers to user pointers, and back */
   #define chunk2mem(p) ((void *)((char *)(p) + TWO_SIZE_T_SIZES))
-  #define mem2chunk(mem) ((mchunkptr)((char *)(mem)-TWO_SIZE_T_SIZES))
+  #define mem2chunk(mem) ((mchunkptr)((char *)(mem) - TWO_SIZE_T_SIZES))
   /* chunk associated with aligned address A */
   #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))