mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Remove use of %z in sscanf.
As in 9d7ded0f42
, it causes warnings on
some MinGW compilers.
This commit is contained in:
@@ -96,7 +96,7 @@ main(int argc, char **argv)
|
||||
switch (c)
|
||||
{
|
||||
case 'c': /* chunksize */
|
||||
sscanf(optarg, "%zu", &chunk_size);
|
||||
chunk_size = strtou64(optarg, NULL, 10);
|
||||
if (chunk_size > BUFSIZE)
|
||||
pg_fatal("chunk size cannot exceed %d", BUFSIZE);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user