missing type cast added

This commit is contained in:
2011-08-23 15:11:01 +00:00
parent dafcdc6879
commit 0d37e27db2
+1 -1
View File
@@ -59,7 +59,7 @@ h5_strdup (
) {
MALLOC_WRAPPER_ENTER (char_p, "s='%s'", s1);
char_p s2 = h5_calloc (1, strlen (s1)+1 );
char_p s2 = (char_p)h5_calloc (1, strlen (s1)+1 );
if (s2 == NULL) {
MALLOC_WRAPPER_LEAVE (
(char_p)h5_error (H5_ERR_NOMEM, "Out of memory."));