From dd0503576da04e77207e997ca5ababd81e3dc23d Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 18 Apr 2005 20:23:29 +0000 Subject: Fix compiler warnings. Add demo.menu and all xbm and xpm files in test directory to install list. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/vsnprintf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/vsnprintf.c b/src/vsnprintf.c index 6949455f3..e2f39888e 100644 --- a/src/vsnprintf.c +++ b/src/vsnprintf.c @@ -72,13 +72,13 @@ int fl_vsnprintf(char* buffer, size_t bufsize, const char* format, va_list ap) { else sign = 0; width = 0; - while (isdigit(*format)) width = width * 10 + *format++ - '0'; + while (isdigit(*format & 255)) width = width * 10 + *format++ - '0'; if (*format == '.') { format ++; prec = 0; - while (isdigit(*format)) prec = prec * 10 + *format++ - '0'; + while (isdigit(*format & 255)) prec = prec * 10 + *format++ - '0'; } else prec = -1; if (*format == 'l' && format[1] == 'l') { -- cgit v1.2.3