summaryrefslogtreecommitdiffstats
path: root/tools/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-03-16 15:38:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-03-16 15:38:24 (GMT)
commita16d142f80630b11ac45c0bcf00ee2ea5b88f08e (patch)
treea65d5cdd635cad293febccc1332630031975f5c6 /tools/src
parentcee9624b0febcb60a7b2699262104e9eaf20313d (diff)
downloadhdf5-a16d142f80630b11ac45c0bcf00ee2ea5b88f08e.zip
hdf5-a16d142f80630b11ac45c0bcf00ee2ea5b88f08e.tar.gz
hdf5-a16d142f80630b11ac45c0bcf00ee2ea5b88f08e.tar.bz2
Switch from HDatoll to HDstrtoll, for Windows compatibility.
Diffstat (limited to 'tools/src')
-rw-r--r--tools/src/h5repack/h5repack_main.c2
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;