From 0d37e27db2765cb9acacd625f68cf98a7e8106f4 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 23 Aug 2011 15:11:01 +0000 Subject: [PATCH] missing type cast added --- src/include/h5core/h5_syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/h5core/h5_syscall.h b/src/include/h5core/h5_syscall.h index 2842dc3..05da352 100644 --- a/src/include/h5core/h5_syscall.h +++ b/src/include/h5core/h5_syscall.h @@ -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."));