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
Fix possible compilation problem with the declaration of msg_comm_t
[simgrid.git]
/
include
/
xbt
/
sysdep.h
diff --git
a/include/xbt/sysdep.h
b/include/xbt/sysdep.h
index
a04add7
..
33aefed
100644
(file)
--- a/
include/xbt/sysdep.h
+++ b/
include/xbt/sysdep.h
@@
-101,7
+101,7
@@
void *xbt_malloc0(size_t n)
static inline __attribute__ ((always_inline))
void *xbt_realloc(void *p, size_t s)
{
- void *res =
res
;
+ void *res =
NULL
;
//if (s==0) xbt_die("realloc(0) is not portable");
if (s) {
if (p) {