Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
convert the last bits of surf to C++
[simgrid.git] / src / surf / simgrid_dtd.c
index 8fa6d34..09e0f06 100644 (file)
@@ -202,7 +202,7 @@ extern FILE *surf_parse_in, *surf_parse_out;
      */
     #define  YY_LESS_LINENO(n) \
             do { \
-                int yyl;\
+                unsigned int yyl;\
                 for ( yyl = n; yyl < surf_parse_leng; ++yyl )\
                     if ( surf_parse_text[yyl] == '\n' )\
                         --surf_parse_lineno;\