X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/80c1a2cfb0528d85b659be0a62663b6cf54a5eae..d65f3abb5e6bdb5ab5eccb0e380916983c412c2c:/teshsuite/msg/storage/storage.c diff --git a/teshsuite/msg/storage/storage.c b/teshsuite/msg/storage/storage.c index 33dfab5b35..e15baad471 100644 --- a/teshsuite/msg/storage/storage.c +++ b/teshsuite/msg/storage/storage.c @@ -1,5 +1,6 @@ #include "msg/msg.h" #include "xbt/log.h" +#include "inttypes.h" XBT_LOG_NEW_DEFAULT_CATEGORY(storage,"Messages specific for this simulation"); @@ -128,9 +129,9 @@ void display_storage_content(msg_storage_t storage){ xbt_dict_t content = MSG_storage_get_content(storage); if (content){ xbt_dict_foreach(content, cursor, file, size) - XBT_INFO("%s size: %zu bytes", file, size); - }else{ - XBT_INFO("No content."); + XBT_INFO("%s size: %" PRIu64 "bytes", file, size); + } else { + XBT_INFO("No content."); } }