summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-09-19 18:57:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-09-19 18:57:12 (GMT)
commit0a2c6270ee9cec6f377e4056baca3030d03d64b9 (patch)
tree67e44887afbe6684c0ea2ed9d5abf60a374529bc /src
parent78aac33eb39f67bbcc208dbaa5bf6c3e571bf9af (diff)
downloadhdf5-0a2c6270ee9cec6f377e4056baca3030d03d64b9.zip
hdf5-0a2c6270ee9cec6f377e4056baca3030d03d64b9.tar.gz
hdf5-0a2c6270ee9cec6f377e4056baca3030d03d64b9.tar.bz2
[svn-r103] Added pointer cast to shut compiler up.
Diffstat (limited to 'src')
-rw-r--r--src/H5MM.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5MM.c b/src/H5MM.c
index eb9c76e..b8682c4 100644
--- a/src/H5MM.c
+++ b/src/H5MM.c
@@ -176,7 +176,7 @@ H5MM_xfree (const void *mem)
* compiler warning, we cast it to a non-const arg first. With
* gcc, this results in a warning only if -Wcast-qual is turned on.
*/
- void *non_const_mem = mem;
+ void *non_const_mem = (void *)mem;
if (mem) HDfree (non_const_mem);
return NULL;