summaryrefslogtreecommitdiffstats
path: root/src/H5Tnative.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-05-23 18:24:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-05-23 18:24:57 (GMT)
commit33bd53a7ebe9f0982b1a9b2141407519fcd607d9 (patch)
tree159b98b1cf99052f8b938e80d58229d908116a40 /src/H5Tnative.c
parent8cc6ceb4e32d51f9c296038fec589c2a4fb7eaaf (diff)
downloadhdf5-33bd53a7ebe9f0982b1a9b2141407519fcd607d9.zip
hdf5-33bd53a7ebe9f0982b1a9b2141407519fcd607d9.tar.gz
hdf5-33bd53a7ebe9f0982b1a9b2141407519fcd607d9.tar.bz2
[svn-r23717] Description:
Fix return value from FAIL to NULL, to match the routines type. Tested on: Mac OSX/64 10.8.3 (amazon)
Diffstat (limited to 'src/H5Tnative.c')
-rw-r--r--src/H5Tnative.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tnative.c b/src/H5Tnative.c
index e7d1351..1a97f39 100644
--- a/src/H5Tnative.c
+++ b/src/H5Tnative.c
@@ -383,7 +383,7 @@ H5T_get_native_type(H5T_t *dtype, H5T_direction_t direction, size_t *struct_alig
/* Find the conversion function */
if(NULL == (tpath = H5T_path_find(super_type, nat_super_type, NULL, NULL, H5P_DEFAULT, FALSE)))
- HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "unable to convert between src and dst data types")
+ HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, NULL, "unable to convert between src and dst data types")
/* Retrieve member info and insert members into new enum type */
if((snmemb = H5T_get_nmembers(dtype)) <= 0)