From: mquinson Date: Thu, 1 Apr 2010 15:20:04 +0000 (+0000) Subject: How can I be so stupid to need 3 commits for a simple fix? X-Git-Tag: SVN~311 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7dc32b45a60779e81ee8e3d4b9d7f8e78fc1e0b3?hp=d5ee93c28e4539e9d66b83bd06798ef1eb387720 How can I be so stupid to need 3 commits for a simple fix? git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7429 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/dict.c b/src/xbt/dict.c index 7791309262..21b8f6019b 100644 --- a/src/xbt/dict.c +++ b/src/xbt/dict.c @@ -1150,7 +1150,7 @@ XBT_TEST_UNIT("nulldata", test_dict_nulldata, "NULL data management") } static void debuged_addi(xbt_dict_t head, uintptr_t key, uintptr_t data) { - xbt_test_log2("Add %ld under %ld", data, key); + xbt_test_log2("Add %zu under %zu", data, key); xbt_dicti_set(head, key, data); if (XBT_LOG_ISENABLED(xbt_dict, xbt_log_priority_debug)) { @@ -1159,7 +1159,7 @@ static void debuged_addi(xbt_dict_t head, uintptr_t key, uintptr_t data) { } uintptr_t stored_data = xbt_dicti_get(head, key); xbt_test_assert3(stored_data==data, - "Retrieved data (%ld) is not what I just stored (%ld) under key %ld",stored_data,data,key); + "Retrieved data (%zu) is not what I just stored (%zu) under key %zu",stored_data,data,key); } XBT_TEST_UNIT("dicti", test_dict_scalar, "Scalar data and key management")