Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
flexml 1.5.1 will save the world
[simgrid.git] / src / xbt / graphxml.c
index fd1bb3a..a5f9d08 100644 (file)
@@ -337,7 +337,7 @@ void xbt_graph_parse_free (void *  );
 
 /* Begin user sect3 */
 
-#define xbt_graph_parse_wrap(n) 1
+#define xbt_graph_parse_wrap() 1
 #define YY_SKIP_YYWRAP
 
 typedef unsigned char YY_CHAR;
@@ -2352,7 +2352,7 @@ static int yy_get_next_buffer (void)
 
        else
                {
-                       size_t num_to_read =
+                       int num_to_read =
                        YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
 
                while ( num_to_read <= 0 )