aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xentrace')
-rw-r--r--tools/xentrace/xenctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c
index ac1b6d57de..ca81664e26 100644
--- a/tools/xentrace/xenctx.c
+++ b/tools/xentrace/xenctx.c
@@ -178,12 +178,12 @@ static void read_symbol_table(const char *symtab)
/* 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