From: mquinson Date: Fri, 18 Jun 2004 17:53:49 +0000 (+0000) Subject: Eradicate two small, nasty and stupid bugs X-Git-Tag: v3.3~5237 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ffdfad0dab5d005809b7732310c0ced8e4d393e1 Eradicate two small, nasty and stupid bugs git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@109 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/Msg/msg.c b/src/gras/Msg/msg.c index e57a57c8a2..077f51c215 100644 --- a/src/gras/Msg/msg.c +++ b/src/gras/Msg/msg.c @@ -120,7 +120,7 @@ gras_msgtype_declare_v(const char *name, RAISE_MALLOC; errcode = gras_set_get_by_name(_gras_msgtype_set, - namev,(gras_set_elm_t**)msgtype); + namev,(gras_set_elm_t**)&msgtype); if (errcode == mismatch_error) { /* create type */ if (! (msgtype = malloc(sizeof(gras_msgtype_t))) ) @@ -335,7 +335,7 @@ gras_msg_handle(double timeOut) { - VERB1("Handling message within the next %.2s",timeOut); + VERB1("Handling message within the next %d",timeOut); /* get a message (from the queue or from the net) */ if (gras_dynar_length(pd->msg_queue)) {