summaryrefslogtreecommitdiffstats
path: root/src/H5Odtype.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-10-09 00:34:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-10-09 00:34:31 (GMT)
commitd5db5d6991bc17b69da1f4debc3006e765b28984 (patch)
tree6da3871186cd2c6c23a3e9ab9027eb7c5c38fe09 /src/H5Odtype.c
parentacc0841fe5c2623545cf061fbc77cb98ca2fd799 (diff)
downloadhdf5-d5db5d6991bc17b69da1f4debc3006e765b28984.zip
hdf5-d5db5d6991bc17b69da1f4debc3006e765b28984.tar.gz
hdf5-d5db5d6991bc17b69da1f4debc3006e765b28984.tar.bz2
[svn-r1739] Cleaned up some warnings from the HP compiler.
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r--src/H5Odtype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c
index 420d70a..039d6c2 100644
--- a/src/H5Odtype.c
+++ b/src/H5Odtype.c
@@ -301,7 +301,7 @@ H5O_dtype_decode_helper(H5F_t *f, const uint8_t **pp, H5T_t *dt)
/* Decode base type of VL information */
if (NULL==(dt->parent = H5MM_calloc(sizeof(H5T_t))))
- HRETURN_ERROR (H5E_DATATYPE, H5E_NOSPACE, NULL, "memory allocation failed");
+ HRETURN_ERROR (H5E_DATATYPE, H5E_NOSPACE, FAIL, "memory allocation failed");
dt->parent->ent.header = HADDR_UNDEF;
if (H5O_dtype_decode_helper(f, pp, dt->parent)<0)
HRETURN_ERROR(H5E_DATATYPE, H5E_CANTDECODE, FAIL, "unable to decode VL parent type");