mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix storage of getopt() return, should be 'int', for pg_upgrade.
Steve Singer
This commit is contained in:
@ -46,7 +46,7 @@ parseCommandLine(migratorContext *ctx, int argc, char *argv[])
|
|||||||
{"verbose", no_argument, NULL, 'v'},
|
{"verbose", no_argument, NULL, 'v'},
|
||||||
{NULL, 0, NULL, 0}
|
{NULL, 0, NULL, 0}
|
||||||
};
|
};
|
||||||
char option; /* Command line option */
|
int option; /* Command line option */
|
||||||
int optindex = 0; /* used by getopt_long */
|
int optindex = 0; /* used by getopt_long */
|
||||||
int user_id;
|
int user_id;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user