From ffdfad0dab5d005809b7732310c0ced8e4d393e1 Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 18 Jun 2004 17:53:49 +0000 Subject: [PATCH] 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 --- src/gras/Msg/msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) { -- 2.20.1