summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-04-08 20:26:42 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-04-08 20:26:42 (GMT)
commit86b0cc22c883c3c8faf3242cf10563577771ed00 (patch)
tree8bf0437f0a4beed2e87a34a3469fbf10ba50fcc8
parent351d3f5ebbaebf8daaa519f9f8e75c9d9d6cb48b (diff)
downloadhdf5-86b0cc22c883c3c8faf3242cf10563577771ed00.zip
hdf5-86b0cc22c883c3c8faf3242cf10563577771ed00.tar.gz
hdf5-86b0cc22c883c3c8faf3242cf10563577771ed00.tar.bz2
[svn-r6598] Purpose:
code warrior port Description: added some type casts (char*) for CW portability Solution: Platforms tested: w2000(CW , MS) linux arabica modi4 Misc. update:
-rw-r--r--src/H5FDlog.c4
-rw-r--r--src/H5RS.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FDlog.c b/src/H5FDlog.c
index b8722f4..1073ab6 100644
--- a/src/H5FDlog.c
+++ b/src/H5FDlog.c
@@ -354,8 +354,8 @@ H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned flags, size_t buf_s
if(NULL == (plist = H5P_object_verify(fapl_id,H5P_FILE_ACCESS)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a file access property list");
-
- fa.logfile=logfile;
+
+ fa.logfile=(char*)logfile;
fa.flags=flags;
fa.buf_size=buf_size;
ret_value= H5P_set_driver(plist, H5FD_LOG, &fa);
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;