From: bernhardheld Date: Sun, 18 Nov 2001 19:41:27 +0000 (+0000) Subject: port to mcs51 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a7cec0260dde2e250f6c4bbfca1d3593dddff61a;p=fw%2Fsdcc port to mcs51 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1619 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/support/regression/tests/malloc.c b/support/regression/tests/malloc.c index 361ef99a..21e1975f 100644 --- a/support/regression/tests/malloc.c +++ b/support/regression/tests/malloc.c @@ -23,15 +23,15 @@ testMalloc(void) p1 = malloc(5); ASSERT(p1 != NULL); - LOG(("p1: %u\n", p1)); + LOG(("p1: %u\n", (unsigned) p1)); p2 = malloc(20); ASSERT(p2 != NULL); - LOG(("p2: %u\n", p2)); + LOG(("p2: %u\n", (unsigned) p2)); free(p2); p3 = malloc(10); ASSERT(p3 != NULL); - LOG(("p3, after freeing p2: %u\n", p3)); + LOG(("p3, after freeing p2: %u\n", (unsigned) p3)); }