summaryrefslogtreecommitdiffstats
path: root/test/swmr_sparse_writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/swmr_sparse_writer.c')
-rw-r--r--test/swmr_sparse_writer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/swmr_sparse_writer.c b/test/swmr_sparse_writer.c
index 79889b1..edef5c6 100644
--- a/test/swmr_sparse_writer.c
+++ b/test/swmr_sparse_writer.c
@@ -335,7 +335,7 @@ main(int argc, char *argv[])
switch (argv[u][1]) {
/* # of records to write between flushing file */
case 'f':
- flush_count = HDatol(argv[u + 1]);
+ flush_count = atol(argv[u + 1]);
if (flush_count < 0)
usage();
u += 2;
@@ -354,7 +354,7 @@ main(int argc, char *argv[])
} /* end if */
else {
/* Get the number of records to append */
- nrecords = HDatol(argv[u]);
+ nrecords = atol(argv[u]);
if (nrecords <= 0)
usage();