Clean up some minor gcc warnings.

This commit is contained in:
Tom Lane 1999-12-20 01:34:19 +00:00
parent 80dc7e207a
commit ec806d72c0
1 changed files with 2 additions and 2 deletions

View File

@ -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;