summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5R.c')
-rw-r--r--src/H5R.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 8a3c6ff..d79443d 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -663,7 +663,7 @@ H5R_get_object_type(H5F_t *file, hid_t dxpl_id, void *_ref)
ent.file=file;
/* Get the object oid */
- p=(uint8_t *)ref->oid;
+ p=(uint8_t *)ref;
H5F_addr_decode(ent.file,(const uint8_t **)&p,&(ent.header));
/* Get the OID type */