OSDN Git Service

MALLOC_DEBUG: enable the option libc.debug.malloc = 10
authorBruce Beare <bruce.j.beare@intel.com>
Wed, 21 Sep 2011 10:44:05 +0000 (12:44 +0200)
committerBruce Beare <bruce.j.beare@intel.com>
Mon, 5 Dec 2011 22:58:55 +0000 (14:58 -0800)
commit89d3fdcae26980bf81a4622c3c83e48ead4c1c3a
treec58fbe8957357a72479ee8b409d9233ede22f075
parente480fc83b2887388d469eb3bf58c86c610f5b082
MALLOC_DEBUG: enable the option libc.debug.malloc = 10

Fix the compile warning to let the libc.debug.malloc=10 works well
Due to unsuitable value comparison, which cause compiler optimize the
code of comparing two digits.

Change-Id: I0bedd596c9ca2ba308fb008da20ecb328d8548f5
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Author: liu chuansheng <chuansheng.liu@intel.com>
libc/bionic/malloc_debug_leak.c