From: Martin Quinson Date: Wed, 25 Apr 2012 09:39:07 +0000 (+0200) Subject: Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid X-Git-Tag: v3_7~63^2~15 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e309683cde8cec6a08da434e7f08584b6a3ff5f8?hp=7fab3edd9dabf63ddf1cea93113158e5a3e2936c Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid --- diff --git a/tools/gras/struct_diff.c b/tools/gras/struct_diff.c index 9c7825110e..edb9aeca97 100644 --- a/tools/gras/struct_diff.c +++ b/tools/gras/struct_diff.c @@ -144,14 +144,14 @@ int main(int argc, char** argv) { if (field->offset[GRAS_THISARCH]<= offset&& field->offset[GRAS_THISARCH]+field->type->size[GRAS_THISARCH] >= offset) { found = 1; - printf("This offset is somewhere in field %s, which starts at offset %zu and is of size %zu\n", + printf("This offset is somewhere in field %s, which starts at offset %ld and is of size %ld\n", field->name,field->offset[GRAS_THISARCH],field->type->size[GRAS_THISARCH]); } } if (!found) { - printf("Damnit, the structure is too short to find the the field (last field %s was at offset %zu, with size %zu). Weird.\n", + printf("Damnit, the structure is too short to find the the field (last field %s was at offset %ld, with size %ld). Weird.\n", field->name,field->offset[GRAS_THISARCH],field->type->size[GRAS_THISARCH]); } }