Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitec806d7

Browse files
committed
Clean up some minor gcc warnings.
1 parent80dc7e2 commitec806d7

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
#ifdefUSE_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
#ifdefUSE_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)

[8]ページ先頭

©2009-2025 Movatter.jp