summaryrefslogtreecommitdiffstats
path: root/src/H5Odtype.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r--src/H5Odtype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c
index 662d2d4..9f45a6c 100644
--- a/src/H5Odtype.c
+++ b/src/H5Odtype.c
@@ -248,6 +248,7 @@ H5O_dtype_decode_helper(const uint8_t **pp, H5T_t *dt)
/* Values */
HDmemcpy(dt->u.enumer.value, *pp,
dt->u.enumer.nmembs * dt->parent->size);
+ *pp += dt->u.enumer.nmembs * dt->parent->size;
break;
case H5T_REFERENCE:
@@ -269,6 +270,7 @@ H5O_dtype_decode_helper(const uint8_t **pp, H5T_t *dt)
FUNC_LEAVE(SUCCEED);
}
+
/*-------------------------------------------------------------------------
* Function: H5O_dtype_encode_helper