X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fd875fb9415f35ca853e1297c54c8657d15422ce..8f2c177f2db1d14bda835495c0af4db9578c8aac:/src/jxbt_utilities.h diff --git a/src/jxbt_utilities.h b/src/jxbt_utilities.h index dc06f1bca8..3b0bb4f468 100644 --- a/src/jxbt_utilities.h +++ b/src/jxbt_utilities.h @@ -53,7 +53,7 @@ jfieldID jxbt_get_sfield(JNIEnv * env, const char *classname, /* ***************** */ #define jxbt_check_res(fun, res, allowed_exceptions, detail) do {\ - if (res != MSG_OK && res | allowed_exceptions) { \ + if (res != MSG_OK && (res | allowed_exceptions)) { \ xbt_die("%s failed with error code %d, which is not an allowed exception. Please fix me.",fun,res); \ } else if (res == MSG_HOST_FAILURE) { \ jxbt_throw_host_failure(env, detail); \