From 40d229d88583266e6dc69be41b01c03c361c8ac1 Mon Sep 17 00:00:00 2001 From: cherierm Date: Tue, 6 Nov 2007 13:40:32 +0000 Subject: [PATCH 1/1] 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 --- include/surf/surfxml_parse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- 2.20.1