summaryrefslogtreecommitdiffstats
path: root/perform/zip_perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'perform/zip_perf.c')
-rw-r--r--perform/zip_perf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/perform/zip_perf.c b/perform/zip_perf.c
index 321d6e6..55d19e6 100644
--- a/perform/zip_perf.c
+++ b/perform/zip_perf.c
@@ -35,6 +35,7 @@
/* our header files */
#include "hdf5.h"
+#include "H5private.h"
#include "h5tools_utils.h"
#ifdef H5_HAVE_FILTER_DEFLATE
@@ -454,7 +455,7 @@ fill_with_random_data(Bytef *src, uLongf src_len)
printf("Using random() for random data\n");
for (u = 0; u < src_len; ++u)
- src[u] = (Bytef)(0xff & random());
+ src[u] = (Bytef)(0xff & HDrandom());
}
if (compress_percent) {