From 61338b552d1673a32c1d544ae3059d8b6cbae579 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sat, 28 Apr 2007 01:09:54 +0000 Subject: [PATCH] Avoid potential sign problems. --- pdcurses/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdcurses/util.c b/pdcurses/util.c index 6b8d90d1..b5cc8eb0 100644 --- a/pdcurses/util.c +++ b/pdcurses/util.c @@ -20,7 +20,7 @@ # endif #endif -RCSID("$Id: util.c,v 1.62 2007/04/27 07:27:05 wmcbrine Exp $"); +RCSID("$Id: util.c,v 1.63 2007/04/28 01:09:54 wmcbrine Exp $"); /*man-start************************************************************** @@ -290,7 +290,7 @@ size_t PDC_wcstombs(char *dest, const wchar_t *src, size_t n) while (*src && i < n) { - wchar_t code = *src++; + chtype code = *src++; if (code < 0x80) {