X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f8ebed39786069c8da2dbaab5fa252365f1d2070..f4206a23cb0e9c218713ca1a0c980b9c65ff4710:/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"))