aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/psql/input.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/psql/input.c b/src/bin/psql/input.c
index cb0cc677659..26fe7659e2a 100644
--- a/src/bin/psql/input.c
+++ b/src/bin/psql/input.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/input.c,v 1.24 2003/07/23 08:47:39 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/input.c,v 1.25 2003/07/25 19:27:06 momjian Exp $
*/
#include "postgres_fe.h"
#include "input.h"
@@ -86,7 +86,8 @@ gets_interactive(const char *prompt)
static char *prev_hist = NULL;
if (useReadline)
- s = readline(prompt);
+ /* On some platforms, readline is declared as readline(char *) */
+ s = readline((char *) prompt);
else
s = gets_basic(prompt);