port to mcs51
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 18 Nov 2001 19:41:27 +0000 (19:41 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 18 Nov 2001 19:41:27 +0000 (19:41 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1619 4a8a32a2-be11-0410-ad9d-d568d2c75423

support/regression/tests/malloc.c

index 361ef99a0da83867557594686c22e10eefb250a5..21e1975f49b338d9e12048bb361954ce26187941 100644 (file)
@@ -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));
 }