summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-03-16 23:02:06 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-03-16 23:02:06 (GMT)
commit5c80d3d91284bdcd048d9325b1a601d0ddfca8bd (patch)
tree8ad7066b9cc25f160c910955555492640a9bc9ba /src/H5private.h
parenta98747c0f94386f7505210e78cd4b385682b0eba (diff)
downloadhdf5-5c80d3d91284bdcd048d9325b1a601d0ddfca8bd.zip
hdf5-5c80d3d91284bdcd048d9325b1a601d0ddfca8bd.tar.gz
hdf5-5c80d3d91284bdcd048d9325b1a601d0ddfca8bd.tar.bz2
- Added H5MMprivate.h #includes where needed
- Added casts to quiet H5MM_memcpy warnings - Removed char * casts from HDmemcpy
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/H5private.h b/src/H5private.h
index ef52ac6..dad2d94 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -1104,12 +1104,8 @@ typedef off_t h5_stat_size_t;
#ifndef HDmemcmp
#define HDmemcmp(X,Y,Z) memcmp(X,Y,Z)
#endif /* HDmemcmp */
-/*
- * The (char*) casts are required for the DEC when optimizations are turned
- * on and the source and/or destination are not aligned.
- */
#ifndef HDmemcpy
- #define HDmemcpy(X,Y,Z) memcpy((char*)(X),(const char*)(Y),Z)
+ #define HDmemcpy(X,Y,Z) memcpy(X,Y,Z)
#endif /* HDmemcpy */
#ifndef HDmemmove
#define HDmemmove(X,Y,Z) memmove((char*)(X),(const char*)(Y),Z)