Commit 24cb6ab9 authored by Bruce Momjian's avatar Bruce Momjian

Fix storage of getopt() return, should be 'int', for pg_upgrade.

Steve Singer
parent c0989c67
......@@ -46,7 +46,7 @@ parseCommandLine(migratorContext *ctx, int argc, char *argv[])
{"verbose", no_argument, NULL, 'v'},
{NULL, 0, NULL, 0}
};
char option; /* Command line option */
int option; /* Command line option */
int optindex = 0; /* used by getopt_long */
int user_id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment