From ee0f09de4318d2f4498da5c28d7b5f0ccb87316b Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 14 Aug 2009 13:18:57 +0000 Subject: [PATCH] Some type cast warning fixed --- src/H5Block.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/H5Block.c b/src/H5Block.c index af57be6..31e3c7d 100644 --- a/src/H5Block.c +++ b/src/H5Block.c @@ -1542,8 +1542,8 @@ H5BlockWriteFieldAttrib ( return _write_field_attrib ( f, field_name, - attrib_name, (const hid_t)attrib_type, attrib_value, - (const hid_t)attrib_nelem ); + attrib_name, (hid_t)attrib_type, attrib_value, + (hid_t)attrib_nelem ); } /*! @@ -1751,7 +1751,7 @@ H5Block3dSetFieldOrigin ( f, field_name, H5BLOCK_FIELD_ORIGIN_NAME, - (const hid_t)H5PART_FLOAT64, + (hid_t)H5PART_FLOAT64, origin, 3 ); } @@ -1816,7 +1816,7 @@ H5Block3dSetFieldSpacing ( f, field_name, H5BLOCK_FIELD_SPACING_NAME, - (const hid_t)H5PART_FLOAT64, + (hid_t)H5PART_FLOAT64, spacing, 3 ); }