aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/s390-ccw/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'pc-bios/s390-ccw/menu.c')
-rw-r--r--pc-bios/s390-ccw/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pc-bios/s390-ccw/menu.c b/pc-bios/s390-ccw/menu.c
index 82a4ae6315..ce3815b201 100644
--- a/pc-bios/s390-ccw/menu.c
+++ b/pc-bios/s390-ccw/menu.c
@@ -134,7 +134,7 @@ static int get_index(void)
/* Check for erroneous input */
for (i = 0; i < len; i++) {
- if (!isdigit(buf[i])) {
+ if (!isdigit((unsigned char)buf[i])) {
return -1;
}
}