mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-01 16:28:09 +08:00
Switch from HDatoll to HDstrtoll, for Windows compatibility.
This commit is contained in:
parent
cee9624b0f
commit
a16d142f80
@ -569,7 +569,7 @@ int parse_command_line(int argc, const char **argv, pack_opt_t* options)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'G':
|
case 'G':
|
||||||
options->fs_pagesize = HDatoll( opt_arg );
|
options->fs_pagesize = HDstrtoll(opt_arg, NULL, 0);
|
||||||
if(options->fs_pagesize == 0)
|
if(options->fs_pagesize == 0)
|
||||||
/* To distinguish the "specified" zero value */
|
/* To distinguish the "specified" zero value */
|
||||||
options->fs_pagesize = -1;
|
options->fs_pagesize = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user