diff --git a/src/H5Part.c b/src/H5Part.c index d9160e8..2bad3a5 100644 --- a/src/H5Part.c +++ b/src/H5Part.c @@ -349,7 +349,7 @@ H5PartWriteStepAttrib ( f, f->step_gid, attrib_name, - (const hid_t)attrib_type, + (hid_t)attrib_type, attrib_value, attrib_nelem ); } @@ -391,7 +391,7 @@ H5PartWriteFileAttrib ( f, f->root_gid, attrib_name, - (const hid_t)attrib_type, + (hid_t)attrib_type, attrib_value, attrib_nelem ); }