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
Give the correct address for the source of memcpy
[simgrid.git]
/
src
/
xbt
/
datadesc
/
ddt_parse.c
diff --git
a/src/xbt/datadesc/ddt_parse.c
b/src/xbt/datadesc/ddt_parse.c
index
9947261
..
a3f4694
100644
(file)
--- a/
src/xbt/datadesc/ddt_parse.c
+++ b/
src/xbt/datadesc/ddt_parse.c
@@
-219,7
+219,7
@@
static void add_free_f(xbt_dynar_t dynar, void_f_pvoid_t free_f)
XBT_IN();
xbt_dynar_pop(dynar, &former);
- memcpy(former.type->extra, free_f, sizeof(free_f));
+ memcpy(former.type->extra,
&
free_f, sizeof(free_f));
xbt_dynar_push(dynar, &former);
XBT_OUT();
}