X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eb3be59d63b0d199fa3f32b5a22553e44cfb917a..a7dc4456f42a853a6294c774ccc9397304732c6e:/src/xbt/ex.c diff --git a/src/xbt/ex.c b/src/xbt/ex.c index bdb3aa2d4e..4eb0569eca 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -297,7 +297,7 @@ XBT_TEST_UNIT("value", test_value, "exception value passing") CATCH(ex) { xbt_test_add("exception value passing"); if (ex.category != unknown_error) - xbt_test_fail("category=%d (!= 1)", ex.category); + xbt_test_fail("category=%d (!= 1)", (int)ex.category); if (ex.value != 2) xbt_test_fail("value=%d (!= 2)", ex.value); if (strcmp(ex.msg, "toto"))