summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-04-03 18:46:35 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-04-03 18:46:35 (GMT)
commitd53775c9468afe01b058e59db8dfc7a4d79f0340 (patch)
treef6cac3d6014d08a2efea33a5c6243d7062a9f5a2 /tools/h5repack
parent2b1ad857ed987d4a983b829458a70f1116de5b17 (diff)
downloadhdf5-d53775c9468afe01b058e59db8dfc7a4d79f0340.zip
hdf5-d53775c9468afe01b058e59db8dfc7a4d79f0340.tar.gz
hdf5-d53775c9468afe01b058e59db8dfc7a4d79f0340.tar.bz2
[svn-r13578]
Cast a malloc call to the correct type Tested linux
Diffstat (limited to 'tools/h5repack')
-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++)
{