diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-07-24 19:33:56 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-07-24 19:33:56 (GMT) |
commit | 2227f881c7492ecaadbbad44ac5f8f7416cd5b66 (patch) | |
tree | d6389246ccbae4bf897a84b149cdba528ef244fc /src/H5Tcommit.c | |
parent | ad690e7be37389bdb48af7dc08b37bbd3a75aa86 (diff) | |
download | hdf5-2227f881c7492ecaadbbad44ac5f8f7416cd5b66.zip hdf5-2227f881c7492ecaadbbad44ac5f8f7416cd5b66.tar.gz hdf5-2227f881c7492ecaadbbad44ac5f8f7416cd5b66.tar.bz2 |
[svn-r25481] - remove unsigned char * from trace
- add H5Iiterate callback type to trace
- other minor tweeks
Diffstat (limited to 'src/H5Tcommit.c')
-rw-r--r-- | src/H5Tcommit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c index 40024ff..0f840e0 100644 --- a/src/H5Tcommit.c +++ b/src/H5Tcommit.c @@ -952,7 +952,7 @@ hid_t H5VL_create_datatype(void *dt_obj, H5VL_t *vol_plugin, hbool_t app_ref) { ssize_t nalloc; - unsigned char *buf = NULL; + void *buf = NULL; H5T_t *dt = NULL; /* datatype token from VOL plugin */ hid_t ret_value = FAIL; @@ -964,7 +964,7 @@ H5VL_create_datatype(void *dt_obj, H5VL_t *vol_plugin, hbool_t app_ref) HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to get datatype size") /* allocate buffer to store binary description of the datatype */ - if (NULL == (buf = (unsigned char *) H5MM_malloc ((size_t)nalloc))) + if (NULL == (buf = (void *) H5MM_malloc ((size_t)nalloc))) HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate space for datatype") /* get binary description of the datatype */ |