[svn-r103] Added pointer cast to shut compiler up.

This commit is contained in:
Quincey Koziol 1997-09-19 13:57:12 -05:00
parent 78aac33eb3
commit 0a2c6270ee

View File

@ -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;