missing cast on malloc reported by Oliver

This commit is contained in:
Marc Howison
2012-04-04 13:56:00 +00:00
parent 9490449189
commit 23045a3fb3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ John Shalf (NERSC/LBNL)
Cristina Siegerist (NERSC/LBNL)
Mark Howison (NERSC/LBNL)
Please use h5part@lists.psi.ch for communicaion.
Please use h5part@lists.psi.ch for communication.
+1 -1
View File
@@ -661,7 +661,7 @@ test_open_objects(H5PartFile *file, int max_objects)
"at line %4d in %s\n", nopen, max_objects,
(int)__LINE__, __FILE__ );
hid_t *list = malloc(sizeof(hid_t)*nopen);
hid_t *list = (hid_t)malloc(sizeof(hid_t)*nopen);
H5Fget_obj_ids(file->file, H5F_OBJ_ALL, nopen, list);
H5O_info_t info;