From 3e8aa54c17576efe9e1dee78493cbd67440fdf52 Mon Sep 17 00:00:00 2001 From: Matt L <124107509+mattjala@users.noreply.github.com> Date: Thu, 16 Jan 2025 11:33:52 -0600 Subject: [PATCH] Correct H5T_decode return value description (#5242) --- src/H5T.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/H5T.c b/src/H5T.c index 4ad4f2dbf97..b795aa0be36 100644 --- a/src/H5T.c +++ b/src/H5T.c @@ -3794,9 +3794,9 @@ H5T_encode(H5T_t *obj, unsigned char *buf, size_t *nalloc) * Purpose: Private function for H5Tdecode. Reconstructs a binary * description of datatype and returns a new object handle. * - * Return: Success: datatype ID(non-negative) + * Return: Success: Pointer to the new type. * - * Failure: negative + * Failure: NULL * *------------------------------------------------------------------------- */