Skip to content

Commit ec806d7

Browse files
committed
Clean up some minor gcc warnings.
1 parent 80dc7e2 commit ec806d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/input.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ gets_interactive(const char *prompt)
3232

3333
#ifdef USE_READLINE
3434
if (useReadline)
35-
s = readline(prompt);
35+
s = readline((char *) prompt);
3636
else
3737
{
3838
#endif
@@ -135,7 +135,7 @@ saveHistory(const char *fname)
135135
#ifdef USE_HISTORY
136136
if (useHistory)
137137
{
138-
if (write_history(fname) != 0)
138+
if (write_history((char *) fname) != 0)
139139
{
140140
perror(fname);
141141
return false;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy