From 26b55135fbcd0f5b8c5f4be3a1261c363d93acbe Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 1 Apr 2010 13:41:37 +0000 Subject: [PATCH] Make sure that dict of integers can be traversed too git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7416 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/xbt/dict.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xbt/dict.h b/include/xbt/dict.h index e35a5224ff..5a162fd3ff 100644 --- a/include/xbt/dict.h +++ b/include/xbt/dict.h @@ -138,7 +138,7 @@ XBT_PUBLIC(int) xbt_dict_cursor_get_or_free(xbt_dict_cursor_t * cursor, @hideinitializer */ # define xbt_dict_foreach(dict,cursor,key,data) \ for (cursor=NULL, xbt_dict_cursor_first((dict),&(cursor)) ; \ - xbt_dict_cursor_get_or_free(&(cursor),&(key),(void**)(&data));\ + xbt_dict_cursor_get_or_free(&(cursor),(char**)&(key),(void**)(&data));\ xbt_dict_cursor_step(cursor) ) /** @} */ -- 2.20.1