summaryrefslogtreecommitdiffstats
path: root/src/H5Edeprec.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-08-21 20:30:19 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-08-21 20:30:19 (GMT)
commitf8a796ebfc24c8f5f2c2c4f592234deb2b225c09 (patch)
treeb68f1de29b43ba1d654d9b8c7c05e23db9a1b15d /src/H5Edeprec.c
parent5f7de916882208cd9f3b3490c59e0f3ab92cdc40 (diff)
downloadhdf5-f8a796ebfc24c8f5f2c2c4f592234deb2b225c09.zip
hdf5-f8a796ebfc24c8f5f2c2c4f592234deb2b225c09.tar.gz
hdf5-f8a796ebfc24c8f5f2c2c4f592234deb2b225c09.tar.bz2
[svn-r15510] Description:
Clean up warnings & formatting Tested on: Mac OS X/32 10.5.4 (amazon) More tests forthcoming
Diffstat (limited to 'src/H5Edeprec.c')
-rw-r--r--src/H5Edeprec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Edeprec.c b/src/H5Edeprec.c
index c1a5a21..0997f3c 100644
--- a/src/H5Edeprec.c
+++ b/src/H5Edeprec.c
@@ -130,7 +130,7 @@ H5Eget_major(H5E_major_t maj)
FUNC_ENTER_API_NOCLEAR(H5Eget_major, NULL)
/* Get the message object */
- if(NULL == (msg = H5I_object_verify(maj, H5I_ERROR_MSG)))
+ if(NULL == (msg = (H5E_msg_t *)H5I_object_verify(maj, H5I_ERROR_MSG)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a error message ID")
/* Get the message's text */
@@ -178,7 +178,7 @@ H5Eget_minor(H5E_minor_t min)
FUNC_ENTER_API_NOCLEAR(H5Eget_minor, NULL)
/* Get the message object */
- if(NULL == (msg = H5I_object_verify(min, H5I_ERROR_MSG)))
+ if(NULL == (msg = (H5E_msg_t *)H5I_object_verify(min, H5I_ERROR_MSG)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a error message ID")
/* Get the message's text */