summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5Tconv.c2
-rw-r--r--src/H5config.h.in3
-rw-r--r--src/H5private.h7
3 files changed, 2 insertions, 10 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index 5c91a68..12df642 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -4918,7 +4918,7 @@ H5T_conv_i32le_f64le (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata,
* element of the buffer) then the source and destination areas
* overlap so we need to use a temp buf for the destination.
*/
- if (s==buf) d = tmp;
+ if ((void*)s==buf) d = tmp;
/* Convert the integer to a sign and magnitude */
switch (src->u.atomic.u.i.sign) {
diff --git a/src/H5config.h.in b/src/H5config.h.in
index abe9531..dbd9072 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -203,9 +203,6 @@
/* Define if you have the <sys/ioctl.h> header file. */
#undef HAVE_SYS_IOCTL_H
-/* Define if you have the <sys/param.h> header file. */
-#undef HAVE_SYS_PARAM_H
-
/* Define if you have the <sys/proc.h> header file. */
#undef HAVE_SYS_PROC_H
diff --git a/src/H5private.h b/src/H5private.h
index 487f83a..865c85d 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -92,16 +92,11 @@
/*
* System information. These are needed on the DEC Alpha to turn off fixing
* of unaligned accesses by the operating system during detection of
- * alignment constraints in H5detect.c:main(). The <sys/param.h> must be
- * included before <sys/proc.h> on FreeBSD even though we never use anything
- * from either header file on that system.
+ * alignment constraints in H5detect.c:main().
*/
#ifdef HAVE_SYS_SYSINFO_H
# include <sys/sysinfo.h>
#endif
-#ifdef HAVE_SYS_PARAM_H
-# include <sys/param.h>
-#endif
#ifdef HAVE_SYS_PROC_H
# include <sys/proc.h>
#endif