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
Cast value, to please C++ compilers.
[simgrid.git]
/
include
/
msg
/
datatypes.h
diff --git
a/include/msg/datatypes.h
b/include/msg/datatypes.h
index
0536dbb
..
9489308
100644
(file)
--- a/
include/msg/datatypes.h
+++ b/
include/msg/datatypes.h
@@
-53,7
+53,7
@@
typedef struct msg_host_priv {
} s_msg_host_priv_t, *msg_host_priv_t;
static inline msg_host_priv_t MSG_host_priv(msg_host_t host){
- return xbt_lib_get_level(host, MSG_HOST_LEVEL);
+ return
(msg_host_priv_t )
xbt_lib_get_level(host, MSG_HOST_LEVEL);
}