Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Better fix to the comparison between signed and unsigned int around dynar size: chang...
[simgrid.git] / src / surf / surfxml_parse.c
index 4d6239a..955057c 100644 (file)
@@ -312,7 +312,7 @@ void surfxml_add_callback(xbt_dynar_t cb_list, void_f_void_t function)
 
 static XBT_INLINE void surfxml_call_cb_functions(xbt_dynar_t cb_list)
 {
-  int iterator;
+  unsigned int iterator;
   void_f_void_t fun;
   xbt_dynar_foreach(cb_list, iterator, fun){
        DEBUG2("call %p %p",fun,*fun);