From: Arnaud Giersch Date: Wed, 23 May 2012 12:06:14 +0000 (+0200) Subject: A cast is mandatory here to discard the volatile qualifier. X-Git-Tag: v3_8~690 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4113f6e8d30771bb60f3f59b97af589797a479ca A cast is mandatory here to discard the volatile qualifier. --- diff --git a/src/gras/Msg/rpc.c b/src/gras/Msg/rpc.c index 9dd7549b5f..53fffc3d57 100644 --- a/src/gras/Msg/rpc.c +++ b/src/gras/Msg/rpc.c @@ -198,7 +198,7 @@ void gras_msg_rpc_async_wait(gras_msg_cb_ctx_t ctx, void *answer) __xbt_running_ctx_fetch()->exception.func = e.func; __xbt_running_ctx_fetch()->exception.used = e.used; __xbt_running_ctx_fetch()->exception.bt_strings = e.bt_strings; - memset(&__xbt_running_ctx_fetch()->exception.bt, 0, + memset((void*)&__xbt_running_ctx_fetch()->exception.bt, 0, sizeof(__xbt_running_ctx_fetch()->exception.bt)); DO_THROW(__xbt_running_ctx_fetch()); }