aboutsummaryrefslogtreecommitdiff
path: root/libbb/speed_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/speed_table.c')
-rw-r--r--libbb/speed_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/speed_table.c b/libbb/speed_table.c
index 0f0b33d3b..94a296238 100644
--- a/libbb/speed_table.c
+++ b/libbb/speed_table.c
@@ -94,7 +94,7 @@ int main(void)
unsigned long v;
speed_t s;
- for (v = 0 ; v < 500000 ; v++) {
+ for (v = 0 ; v < 500000; v++) {
s = tty_value_to_baud(v);
if (s == (speed_t) -1) {
continue;
@@ -104,7 +104,7 @@ int main(void)
printf("-------------------------------\n");
- for (s = 0 ; s < 010017+1 ; s++) {
+ for (s = 0 ; s < 010017+1; s++) {
v = tty_baud_to_value(s);
if (!v) {
continue;