diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-03-16 15:38:24 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-03-16 15:38:24 (GMT) |
commit | a16d142f80630b11ac45c0bcf00ee2ea5b88f08e (patch) | |
tree | a65d5cdd635cad293febccc1332630031975f5c6 /tools | |
parent | cee9624b0febcb60a7b2699262104e9eaf20313d (diff) | |
download | hdf5-a16d142f80630b11ac45c0bcf00ee2ea5b88f08e.zip hdf5-a16d142f80630b11ac45c0bcf00ee2ea5b88f08e.tar.gz hdf5-a16d142f80630b11ac45c0bcf00ee2ea5b88f08e.tar.bz2 |
Switch from HDatoll to HDstrtoll, for Windows compatibility.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/src/h5repack/h5repack_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |