summaryrefslogtreecommitdiffstats
path: root/src/H5Toh.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-05-19 04:58:25 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-05-19 04:58:25 (GMT)
commiteff3014d975a3118360fa38660af910af804cdcd (patch)
treee9068e2babf566e4145342ec073e0e85fde4a56b /src/H5Toh.c
parent603f1c7221df37daba57323bba926bd3087b14db (diff)
downloadhdf5-eff3014d975a3118360fa38660af910af804cdcd.zip
hdf5-eff3014d975a3118360fa38660af910af804cdcd.tar.gz
hdf5-eff3014d975a3118360fa38660af910af804cdcd.tar.bz2
[svn-r13769] Description:
Clean up minor compiler warnings Tested on: FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Toh.c')
-rw-r--r--src/H5Toh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Toh.c b/src/H5Toh.c
index 6e851f6..2a4ee86 100644
--- a/src/H5Toh.c
+++ b/src/H5Toh.c
@@ -219,7 +219,7 @@ H5O_dtype_get_oloc(hid_t obj_id)
FUNC_ENTER_NOAPI_NOINIT(H5O_dtype_get_oloc)
/* Get the datatype */
- if(NULL == (type = H5I_object(obj_id)))
+ if(NULL == (type = (H5T_t *)H5I_object(obj_id)))
HGOTO_ERROR(H5E_OHDR, H5E_BADATOM, NULL, "couldn't get object from ID")
/* Get the datatype's object header location */