aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/pc98
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2014-12-04 17:38:32 +0000
committerDimitry Andric <dim@FreeBSD.org>2014-12-04 17:38:32 +0000
commit24ce0a02e52bfc1250ca553eca8b11080782de79 (patch)
treee85f3ac5f61c7e8271dbd0d8e33107d5f7ba6b6d /sys/boot/pc98
parent2383695dc36b5c345e74d959d0267980f89b0625 (diff)
parentb42a6953a156ca06f9b7f1948319a539f3122e8d (diff)
Notes
Diffstat (limited to 'sys/boot/pc98')
-rw-r--r--sys/boot/pc98/boot2/boot2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/pc98/boot2/boot2.c b/sys/boot/pc98/boot2/boot2.c
index 936760e62fd3..0f17589df0c9 100644
--- a/sys/boot/pc98/boot2/boot2.c
+++ b/sys/boot/pc98/boot2/boot2.c
@@ -557,7 +557,7 @@ parse()
#if SERIAL
} else if (c == 'S') {
j = 0;
- while ((i = *arg++ - '0') <= 9)
+ while ((unsigned int)(i = *arg++ - '0') <= 9)
j = j * 10 + i;
if (j > 0 && i == -'0') {
comspeed = j;