From 23045a3fb32a4c0e78a88b2683a9303ce00a43fc Mon Sep 17 00:00:00 2001 From: Marc Howison Date: Wed, 4 Apr 2012 13:56:00 +0000 Subject: [PATCH] missing cast on malloc reported by Oliver --- AUTHORS | 2 +- test/testframe.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index 2cf7840..74bc942 100644 --- a/AUTHORS +++ b/AUTHORS @@ -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. diff --git a/test/testframe.c b/test/testframe.c index a003c4c..34cf79d 100644 --- a/test/testframe.c +++ b/test/testframe.c @@ -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;