mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
Fix a compiler warning
This commit is contained in:
parent
dc8af61b5a
commit
15fdfa8464
@ -1984,7 +1984,7 @@ extern int *___errno (void) __attribute__((weak));
|
||||
\
|
||||
MALLOC_TRACE("aligned_alloc(al %llu, size %llu)", \
|
||||
(ULong)alignment, (ULong)size ); \
|
||||
if (VG_ALIGNED_ALLOC_SIZE_ZERO && (alignment == 0) \
|
||||
if ((VG_ALIGNED_ALLOC_SIZE_ZERO && (alignment == 0)) \
|
||||
|| (VG_ALIGNED_ALLOC_SIZE_MULTIPLE_ALIGN && (size % alignment != 0)) \
|
||||
|| (VG_ALIGNED_ALLOC_ALIGN_POWER_TWO && (alignment & (alignment - 1)) != 0) \
|
||||
|| (VG_ALIGNED_ALLOC_ALIGN_FACTOR_FOUR && (alignment % 4 != 0))) { \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user