From 41cbfb75b345f4fea0b31e6ba5153454a0df2dfa Mon Sep 17 00:00:00 2001 From: suter Date: Tue, 8 Oct 2013 15:03:38 +0200 Subject: [PATCH] dict now contains pointers on size --- teshsuite/msg/storage/storage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/teshsuite/msg/storage/storage.c b/teshsuite/msg/storage/storage.c index ce305fe40b..b6f649ad9b 100644 --- a/teshsuite/msg/storage/storage.c +++ b/teshsuite/msg/storage/storage.c @@ -125,11 +125,11 @@ void display_storage_content(msg_storage_t storage){ XBT_INFO("Print the content of the storage element: %s",MSG_storage_get_name(storage)); xbt_dict_cursor_t cursor = NULL; char *file; - sg_storage_size_t size; + sg_storage_size_t *psize; xbt_dict_t content = MSG_storage_get_content(storage); if (content){ - xbt_dict_foreach(content, cursor, file, size) - XBT_INFO("%s size: %" PRIu64 " bytes", file, size); + xbt_dict_foreach(content, cursor, file, psize) + XBT_INFO("%s size: %" PRIu64 " bytes", file, *psize); } else { XBT_INFO("No content."); } -- 2.20.1