summaryrefslogtreecommitdiffstats
path: root/src/H5RS.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5RS.c')
-rw-r--r--src/H5RS.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5RS.c b/src/H5RS.c
index fcccbb5..d710774 100644
--- a/src/H5RS.c
+++ b/src/H5RS.c
@@ -153,7 +153,7 @@ H5RS_wrap(const char *s)
HGOTO_ERROR(H5E_RS,H5E_NOSPACE,NULL,"memory allocation failed");
/* Set the internal fields */
- ret_value->s=s;
+ ret_value->s=(char*)s;
ret_value->wrapped=1;
ret_value->n=1;