summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-01-07 16:39:27 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-01-07 16:39:27 (GMT)
commit47f3d57c004b40df90a17c662ca4ab30e72461f1 (patch)
tree693fd079a865e39e27b238d8f2a4da2ab1c0c0b1 /src/H5T.c
parent54604e8fc568619ad16d2c8c10333a0b13044626 (diff)
downloadhdf5-47f3d57c004b40df90a17c662ca4ab30e72461f1.zip
hdf5-47f3d57c004b40df90a17c662ca4ab30e72461f1.tar.gz
hdf5-47f3d57c004b40df90a17c662ca4ab30e72461f1.tar.bz2
[svn-r1015] Got rid of some warning messages.
Tested in O2K.
Diffstat (limited to 'src/H5T.c')
-rw-r--r--src/H5T.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5T.c b/src/H5T.c
index a09bc49..c1d518a 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -2161,7 +2161,7 @@ H5Tget_sign(hid_t type_id)
}
if (dt->parent) dt = dt->parent; /*defer to parent*/
if (H5T_INTEGER!=dt->type) {
- HRETURN_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL,
+ HRETURN_ERROR(H5E_DATATYPE, H5E_CANTINIT, H5T_SGN_ERROR,
"operation not defined for data type class");
}
@@ -2486,7 +2486,7 @@ H5Tget_norm(hid_t type_id)
}
if (dt->parent) dt = dt->parent; /*defer to parent*/
if (H5T_FLOAT != dt->type) {
- HRETURN_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL,
+ HRETURN_ERROR(H5E_DATATYPE, H5E_CANTINIT, H5T_NORM_ERROR,
"operation not defined for data type class");
}