From a16d142f80630b11ac45c0bcf00ee2ea5b88f08e Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 16 Mar 2017 08:38:24 -0700 Subject: Switch from HDatoll to HDstrtoll, for Windows compatibility. --- tools/src/h5repack/h5repack_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/src/h5repack/h5repack_main.c b/tools/src/h5repack/h5repack_main.c index a8b4cfe..07c2b7d 100644 --- a/tools/src/h5repack/h5repack_main.c +++ b/tools/src/h5repack/h5repack_main.c @@ -569,7 +569,7 @@ int parse_command_line(int argc, const char **argv, pack_opt_t* options) break; case 'G': - options->fs_pagesize = HDatoll( opt_arg ); + options->fs_pagesize = HDstrtoll(opt_arg, NULL, 0); if(options->fs_pagesize == 0) /* To distinguish the "specified" zero value */ options->fs_pagesize = -1; -- cgit v0.12