A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Better fix to the comparison between signed and unsigned int around dynar size: chang...
[simgrid.git]
/
src
/
surf
/
surfxml_parse.c
diff --git
a/src/surf/surfxml_parse.c
b/src/surf/surfxml_parse.c
index
4d6239a
..
955057c
100644
(file)
--- a/
src/surf/surfxml_parse.c
+++ b/
src/surf/surfxml_parse.c
@@
-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);