diff -r 2007ca4414ab tools/xentrace/xenctx.c --- a/tools/xentrace/xenctx.c Tue Jan 11 15:34:30 2011 +0100 +++ b/tools/xentrace/xenctx.c Tue Jan 11 15:52:34 2011 +0100 @@ -178,12 +178,12 @@ static void read_symbol_table(const char /* need more checks for syntax here... */ symbol->address = strtoull(line, &p, 16); - if (!isspace(*p++)) + if (!isspace((uint8_t)*p++)) continue; type = *p++; - if (!isalpha(type) && type != '?') + if (!isalpha((uint8_t)type) && type != '?') continue; - if (!isspace(*p++)) + if (!isspace((uint8_t)*p++)) continue; /* in the future we should handle the module name