summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-04-03 18:50:48 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-04-03 18:50:48 (GMT)
commit0ee71236ed7c1979e92878d5d7eb4b885b374c39 (patch)
tree0e7596e95c73f5542a907de6ee9ddfd7da1d5483 /tools
parenta169f04f56515543c25b740ed1bc41f665e44c6f (diff)
downloadhdf5-0ee71236ed7c1979e92878d5d7eb4b885b374c39.zip
hdf5-0ee71236ed7c1979e92878d5d7eb4b885b374c39.tar.gz
hdf5-0ee71236ed7c1979e92878d5d7eb4b885b374c39.tar.bz2
[svn-r13579]
Cast a malloc call to the correct type Tested linux
Diffstat (limited to 'tools')
-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 a409390..c0f516e 100644
--- a/tools/h5repack/h5repacktst.c
+++ b/tools/h5repack/h5repacktst.c
@@ -2272,7 +2272,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++)
{