Fixed signed/unsiged bug

SVN revision: 1771
This commit is contained in:
2006-12-06 16:09:35 +00:00
parent 628a4e3afb
commit a7aabf7969
+1 -1
View File
@@ -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);