From a7aabf79691aefe540ee2199e55b409417e9a998 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 6 Dec 2006 16:09:35 +0000 Subject: [PATCH] Fixed signed/unsiged bug SVN revision: 1771 --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index bfe45ac7..2a69c427 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -18361,7 +18361,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa strcpy(iattr, attr_list[i]); for (j = 0; j < (int) strlen(iattr); j++) /* replace special characters with "_", exclude any UTF-8 */ - if (!isalnum(iattr[j]) && (iattr[j] < 128)) + if (!isalnum(iattr[j]) && ((unsigned char)iattr[j] < 128)) iattr[j] = '_'; rsprintf("\t\t<%s>", iattr);