summaryrefslogtreecommitdiffstats
path: root/src/H5HLprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5HLprivate.h')
-rw-r--r--src/H5HLprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HLprivate.h b/src/H5HLprivate.h
index b1af51a..da8c257 100644
--- a/src/H5HLprivate.h
+++ b/src/H5HLprivate.h
@@ -34,7 +34,7 @@
#define H5HL_MAGIC "HEAP" /*heap magic number */
#define H5HL_SIZEOF_MAGIC 4
-#define H5HL_ALIGN(X) (((X)+7)&~0x07) /*align on 8-byte boundary */
+#define H5HL_ALIGN(X) (((X)+7)&(unsigned)(~0x07)) /*align on 8-byte boundary */
#define H5HL_SIZEOF_HDR(F) \
H5HL_ALIGN(H5HL_SIZEOF_MAGIC + /*heap signature */ \