OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80dc7e2
)
Clean up some minor gcc warnings.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 20 Dec 1999 01:34:19 +0000
(
01:34
+0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 20 Dec 1999 01:34:19 +0000
(
01:34
+0000)
src/bin/psql/input.c
patch
|
blob
|
history
diff --git
a/src/bin/psql/input.c
b/src/bin/psql/input.c
index
250f123
..
1775dff
100644
(file)
--- 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;