diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1997-09-19 18:57:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1997-09-19 18:57:12 (GMT) |
commit | 0a2c6270ee9cec6f377e4056baca3030d03d64b9 (patch) | |
tree | 67e44887afbe6684c0ea2ed9d5abf60a374529bc /src | |
parent | 78aac33eb39f67bbcc208dbaa5bf6c3e571bf9af (diff) | |
download | hdf5-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |