diff options
Diffstat (limited to 'src/H5EAcache.c')
-rw-r--r-- | src/H5EAcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5EAcache.c b/src/H5EAcache.c index 646f376..fd286d5 100644 --- a/src/H5EAcache.c +++ b/src/H5EAcache.c @@ -251,7 +251,7 @@ H5EA__cache_hdr_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void UNUSED *u H5E_THROW(H5E_VERSION, "wrong extensible array header version") /* Extensible array class */ - id = *p++; + id = (H5EA_cls_id_t)*p++; if(id >= H5EA_NUM_CLS_ID) H5E_THROW(H5E_BADTYPE, "incorrect extensible array class") hdr->cparam.cls = H5EA_client_class_g[id]; |