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)
#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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment