summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorQiming Shi <qiming.shi@intel.com>2014-01-26 16:49:39 +0800
committerElliott Hughes <enh@google.com>2014-01-27 14:51:07 -0800
commit4041b13c204fc1e2fc799b67ce15347d9ad6c8d9 (patch)
tree9b7fca4c64464af7e1c0292ecc41f84054055dba /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent6f23ce36ce580da3c1419856c71d7426dd64748d (diff)
bionic: Do not use magic number for portability
Do not use the magic number 0xFFFFFFFFU to represent the max value of an address as it's not correct on 64bit platform. We should use UINTPTR_MAX instead. Change-Id: I1fc6f5864a651b2eddea2333cb0788f9d9223270 Signed-off-by: Qiming Shi <qiming.shi@intel.com> Signed-off-by: Weiwu Chen <weiwu.chen@intel.com>
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions