summaryrefslogtreecommitdiffstats
path: root/src/H5Dio.c
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2005-09-13 03:19:58 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2005-09-13 03:19:58 (GMT)
commitb379a469c0978b454d0ab7e9de87b94b69706520 (patch)
tree5684ac8a31e3f306cff173708170ccc7dda16608 /src/H5Dio.c
parent48ae256b07e499a631e05d607f8ca25bbc5b1339 (diff)
downloadhdf5-b379a469c0978b454d0ab7e9de87b94b69706520.zip
hdf5-b379a469c0978b454d0ab7e9de87b94b69706520.tar.gz
hdf5-b379a469c0978b454d0ab7e9de87b94b69706520.tar.bz2
[svn-r11402] Purpose: Maintenance
Description: Compiler complained about const type * variables that were used in the functions that require "non const" parameters. Compilation failed. Solution: Use casting to avoid compilation errors. Platforms tested: SX-6, heping and mir with new g95 Misc. update:
Diffstat (limited to 'src/H5Dio.c')
-rw-r--r--src/H5Dio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index ffff901..fbb4c48 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -2342,7 +2342,7 @@ H5D_create_chunk_map(const H5D_t *dataset, const H5T_t *mem_type, const H5S_t *f
* speed up hyperslab calculations by removing the extra checks and/or
* additions involving the offset and the hyperslab selection -QAK)
*/
- if(H5S_hyper_normalize_offset(file_space, old_offset)<0)
+ if(H5S_hyper_normalize_offset((H5S_t *)file_space, old_offset)<0)
HGOTO_ERROR (H5E_DATASET, H5E_BADSELECT, FAIL, "unable to normalize dataspace by offset")
file_space_normalized = TRUE;
@@ -2507,7 +2507,7 @@ done:
HDONE_ERROR (H5E_DATASET, H5E_CANTFREE, FAIL, "Can't decrement temporary datatype ID")
} /* end if */
if(file_space_normalized) {
- if(H5S_hyper_denormalize_offset(file_space, old_offset)<0)
+ if(H5S_hyper_denormalize_offset((H5S_t *)file_space, old_offset)<0)
HGOTO_ERROR (H5E_DATASET, H5E_BADSELECT, FAIL, "unable to normalize dataspace by offset")
} /* end if */