diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-12-20 01:34:19 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-12-20 01:34:19 +0000 |
commit | ec806d72c0dd09b33772b13974229273d4459c15 (patch) | |
tree | 4e7a7e98e402fac90c9a4f9c97c88628c1adbe32 /src | |
parent | 80dc7e207aa6db75ce7f0d40afbb1a99eb30988e (diff) | |
download | postgresql-ec806d72c0dd09b33772b13974229273d4459c15.tar.gz postgresql-ec806d72c0dd09b33772b13974229273d4459c15.zip |
Clean up some minor gcc warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/input.c b/src/bin/psql/input.c index 250f1233ea6..1775dffb834 100644 --- a/src/bin/psql/input.c +++ b/src/bin/psql/input.c @@ -32,7 +32,7 @@ gets_interactive(const char *prompt) #ifdef USE_READLINE if (useReadline) - s = readline(prompt); + s = readline((char *) prompt); else { #endif @@ -135,7 +135,7 @@ saveHistory(const char *fname) #ifdef USE_HISTORY if (useHistory) { - if (write_history(fname) != 0) + if (write_history((char *) fname) != 0) { perror(fname); return false; |