From 33bd53a7ebe9f0982b1a9b2141407519fcd607d9 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 23 May 2013 13:24:57 -0500 Subject: [svn-r23717] Description: Fix return value from FAIL to NULL, to match the routines type. Tested on: Mac OSX/64 10.8.3 (amazon) --- src/H5Tnative.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12