From: cherierm Date: Tue, 6 Nov 2007 13:40:32 +0000 (+0000) Subject: This change avoids a warning on the Visual C++ compiler. X-Git-Tag: v3.3~838 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/40d229d88583266e6dc69be41b01c03c361c8ac1?ds=sidebyside This change avoids a warning on the Visual C++ compiler. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4984 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/surf/surfxml_parse.h b/include/surf/surfxml_parse.h index 6062437559..a097de8a93 100644 --- a/include/surf/surfxml_parse.h +++ b/include/surf/surfxml_parse.h @@ -61,7 +61,7 @@ XBT_PUBLIC_DATA(int_f_void_t) surf_parse; /* Entry-point to the parser. Set this #define SURFXML_BUFFER_SET(key,val) do { \ AX_surfxml_##key=AX_ptr; \ strcpy(A_surfxml_##key,val); \ - AX_ptr+=strlen(val)+1; } while(0) + AX_ptr+=(int)strlen(val)+1; } while(0) #define SURFXML_BUFFER_RESET() do { \ AX_ptr = 0; \