Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
should be sg_storage_size_t here too
authorsuter <frederic.suter@cc.in2p3.fr>
Sat, 5 Oct 2013 14:10:03 +0000 (16:10 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Sun, 6 Oct 2013 16:41:03 +0000 (18:41 +0200)
src/surf/storage.c

index c36d8e6..e492a9c 100644 (file)
@@ -207,7 +207,7 @@ static xbt_dict_t storage_get_content(void *storage)
   xbt_dict_t content_dict = xbt_dict_new_homogeneous(NULL);
   xbt_dict_cursor_t cursor = NULL;
   char *file;
-  char *size;
+  sg_storage_size_t *size;
   xbt_dict_foreach(((storage_t)st)->content, cursor, file, size){
     xbt_dict_set(content_dict,file,(void*)size,NULL);
   }