missing cast on malloc reported by Oliver
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user