summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5HFint.c2
-rw-r--r--src/H5HFpkg.h2
-rw-r--r--src/H5private.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/H5HFint.c b/src/H5HFint.c
index 61c4daf..151b19f 100644
--- a/src/H5HFint.c
+++ b/src/H5HFint.c
@@ -44,7 +44,7 @@
/* Limit on the size of the max. direct block size */
/* (This is limited to 32-bits currently, because I think it's unlikely to
- * need to be larger, and the 32-bit limit for H5V_log2(n) - QAK)
+ * need to be larger, and the 32-bit limit for H5V_log2_of2(n) - QAK)
*/
#define H5HL_MAX_DIRECT_SIZE_LIMIT ((hsize_t)2 * 1024 * 1024 * 1024)
diff --git a/src/H5HFpkg.h b/src/H5HFpkg.h
index 8f79343..c633919 100644
--- a/src/H5HFpkg.h
+++ b/src/H5HFpkg.h
@@ -112,7 +112,7 @@
/* Compute the # of bytes required to store an offset into a given buffer size */
#define H5HF_SIZEOF_OFFSET_BITS(b) (((b) + 7) / 8)
-#define H5HF_SIZEOF_OFFSET_LEN(l) H5HF_SIZEOF_OFFSET_BITS(H5V_log2((unsigned)(l)))
+#define H5HF_SIZEOF_OFFSET_LEN(l) H5HF_SIZEOF_OFFSET_BITS(H5V_log2_of2((unsigned)(l)))
/****************************/
/* Package Private Typedefs */
diff --git a/src/H5private.h b/src/H5private.h
index 5d1494f..294f3ff 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -773,7 +773,7 @@ typedef off_t h5_stat_size_t;
#define HDputs(S) puts(S)
#define HDqsort(M,N,Z,F) qsort(M,N,Z,F)
#define HDraise(N) raise(N)
-H5_DLL int HDrand();
+H5_DLL int HDrand(void);
H5_DLL void HDsrand(unsigned int seed);
#define HDrandom() HDrand()
#define HDsrandom(S) HDsrand(S)