From e24d9f967b0ebaa02175fed669acb7505fd94b92 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 5 Feb 2013 11:12:03 +0100 Subject: [PATCH] Cast value, to please C++ compilers. --- include/msg/datatypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/msg/datatypes.h b/include/msg/datatypes.h index 0536dbb264..948930836c 100644 --- 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); } -- 2.20.1