summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-08-31 11:21:54 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-08-31 11:21:54 +0000
commit11892db2e325ef9e18c4c01363ce80eb9b3a4fb2 (patch)
tree44b474b5f8383aa9aab09ca91eb8b6fc23fa87cf
parent69d188884fb34c591c476fe6216858b60f421b8f (diff)
Fix possible signedness problem with localized y/n responses.
-rw-r--r--curs_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/curs_lib.c b/curs_lib.c
index 04624006..d84efdd3 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -133,8 +133,8 @@ void mutt_edit_file (const char *editor, const char *data)
int mutt_yesorno (const char *msg, int def)
{
event_t ch;
- char *yes = _("yes");
- char *no = _("no");
+ unsigned char *yes = _("yes");
+ unsigned char *no = _("no");
CLEARLINE(LINES-1);
printw("%s ([%c]/%c): ", msg, def ? *yes : *no,