Read getopt() into an int, not char.

This commit is contained in:
Bruce Momjian 2001-11-15 18:40:52 +00:00
parent 10d4faab2b
commit d4337f6a7c
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ void sql_exec_searchoid(PGconn *, int);
void
get_opts(int argc, char **argv, struct options * my_opts)
{
char c;
int c;
/* set the defaults */
my_opts->getdatabase = 0;