From: Arnaud Giersch Date: Wed, 10 Oct 2012 09:08:40 +0000 (+0200) Subject: Expression is in fact of type ptrdiff_t, and modifier is %t. X-Git-Tag: v3_8~92^2~7 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/35885108ff54bad7d765bbe3e98a7e20bf22e671?hp=4029ae3f92593d678e8f4c116dca41167760f963;ds=sidebyside Expression is in fact of type ptrdiff_t, and modifier is %t. --- diff --git a/teshsuite/xbt/mmalloc_test.c b/teshsuite/xbt/mmalloc_test.c index 40eab84b98..7e9eeab4c7 100644 --- a/teshsuite/xbt/mmalloc_test.c +++ b/teshsuite/xbt/mmalloc_test.c @@ -34,7 +34,7 @@ int main(int argc, char**argv) for (i = 0; i < TESTSIZE; i++) { size = size_of_block(i); pointers[i] = mmalloc(heapA, size); - XBT_INFO("%d bytes allocated with offset %zu", size, ((char*)pointers[i])-((char*)heapA)); + XBT_INFO("%d bytes allocated with offset %tu", size, ((char*)pointers[i])-((char*)heapA)); } XBT_INFO("All blocks were correctly allocated. Free every second block"); for (i = 0; i < TESTSIZE; i+=2) {