mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Read getopt() into an int, not char.
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user