Skip to content
Snippets Groups Projects
Commit ec806d72 authored by Tom Lane's avatar Tom Lane
Browse files

Clean up some minor gcc warnings.

parent 80dc7e20
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ gets_interactive(const char *prompt) ...@@ -32,7 +32,7 @@ gets_interactive(const char *prompt)
#ifdef USE_READLINE #ifdef USE_READLINE
if (useReadline) if (useReadline)
s = readline(prompt); s = readline((char *) prompt);
else else
{ {
#endif #endif
...@@ -135,7 +135,7 @@ saveHistory(const char *fname) ...@@ -135,7 +135,7 @@ saveHistory(const char *fname)
#ifdef USE_HISTORY #ifdef USE_HISTORY
if (useHistory) if (useHistory)
{ {
if (write_history(fname) != 0) if (write_history((char *) fname) != 0)
{ {
perror(fname); perror(fname);
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment