summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2017-03-16 16:13:57 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2017-03-16 16:13:57 (GMT)
commit887783eb0e9a1787c77092ed53a7737ad4aaac3a (patch)
treea65d5cdd635cad293febccc1332630031975f5c6
parentcee9624b0febcb60a7b2699262104e9eaf20313d (diff)
parenta16d142f80630b11ac45c0bcf00ee2ea5b88f08e (diff)
downloadhdf5-887783eb0e9a1787c77092ed53a7737ad4aaac3a.zip
hdf5-887783eb0e9a1787c77092ed53a7737ad4aaac3a.tar.gz
hdf5-887783eb0e9a1787c77092ed53a7737ad4aaac3a.tar.bz2
Merge pull request #339 in HDFFV/hdf5 from merge_page_buffering_10 to develop
* commit 'a16d142f80630b11ac45c0bcf00ee2ea5b88f08e': Switch from HDatoll to HDstrtoll, for Windows compatibility.
-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;