Commit d4337f6a authored by Bruce Momjian's avatar Bruce Momjian

Read getopt() into an int, not char.

parent 10d4faab
...@@ -52,7 +52,7 @@ void sql_exec_searchoid(PGconn *, int); ...@@ -52,7 +52,7 @@ void sql_exec_searchoid(PGconn *, int);
void void
get_opts(int argc, char **argv, struct options * my_opts) get_opts(int argc, char **argv, struct options * my_opts)
{ {
char c; int c;
/* set the defaults */ /* set the defaults */
my_opts->getdatabase = 0; my_opts->getdatabase = 0;
......
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