From: suter Date: Thu, 6 Jun 2013 15:52:32 +0000 (+0200) Subject: unsigned long to size_t X-Git-Tag: v3_9_90~324^2~7 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9bb15bd26870bd706c2721583b02e56cf61860c2 unsigned long to size_t --- diff --git a/src/surf/storage.c b/src/surf/storage.c index 8cbfc4f049..33ca466700 100644 --- a/src/surf/storage.c +++ b/src/surf/storage.c @@ -102,7 +102,7 @@ static surf_action_t storage_action_open(void *storage, const char* mount, const { XBT_DEBUG("\tOpen file '%s'",path); xbt_dict_t content_dict = ((storage_t)storage)->content; - unsigned long size = (unsigned long) xbt_dict_get_or_null(content_dict,path); + size_t size = (size_t) xbt_dict_get_or_null(content_dict,path); // if file does not exist create an empty file if(!size){ xbt_dict_set(content_dict,path,&size,NULL);