Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This change avoids a warning on the Visual C++ compiler.
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Nov 2007 13:40:32 +0000 (13:40 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Nov 2007 13:40:32 +0000 (13:40 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4984 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/surf/surfxml_parse.h

index 6062437..a097de8 100644 (file)
@@ -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); \
 #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; \
 
 #define SURFXML_BUFFER_RESET() do { \
   AX_ptr = 0; \