From d53775c9468afe01b058e59db8dfc7a4d79f0340 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Tue, 3 Apr 2007 13:46:35 -0500 Subject: [svn-r13578] Cast a malloc call to the correct type Tested linux --- tools/h5repack/h5repacktst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- cgit v0.12