summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/h5repack/h5repacktst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/h5repacktst.c b/tools/h5repack/h5repacktst.c
index 6dc3c3d..19b4103 100644
--- a/tools/h5repack/h5repacktst.c
+++ b/tools/h5repack/h5repacktst.c
@@ -2643,7 +2643,7 @@ int make_big(hid_t loc_id, int set_chunk)
goto out;
/* create a evenly divided buffer from 0 to 127 */
- buf=(char *) HDmalloc((unsigned)(nelmts*size));
+ buf=(signed char *) HDmalloc((unsigned)(nelmts*size));
s = 1024 / 127;
for (i=0, j=0, c=0; i<1024; j++, i++)
{