From 88db141a5d1176216ff24bc921b59c8dc8ff7c2c Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 19 Nov 2009 13:51:40 +0000 Subject: =?UTF-8?q?2009-11-19=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libcsupport/src/malloc_boundary.c: Avoid implicit type cast (https://www.rtems.org/bugzilla/show_bug.cgi?id=1472#c1). --- cpukit/libcsupport/src/malloc_boundary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libcsupport') diff --git a/cpukit/libcsupport/src/malloc_boundary.c b/cpukit/libcsupport/src/malloc_boundary.c index a48f4b613d..f8f6d34bce 100644 --- a/cpukit/libcsupport/src/malloc_boundary.c +++ b/cpukit/libcsupport/src/malloc_boundary.c @@ -86,7 +86,7 @@ static void rtems_malloc_boundary_at_malloc( for (i = 0 ; i < CALLCHAINSIZE ; i++) { mp->callChain[i] = fp[1]; nfp = (int *)(fp[0]); - if((nfp <= fp) || (nfp > (int *)((intptr_t)1 << 24))) + if((nfp <= fp) || (nfp > (int *)(INT32_C(0x1000000) /* 1 << 24 */))) break; fp = nfp; } -- cgit v1.2.3