The type changed too.
diff --git a/libbb/speed_table.c b/libbb/speed_table.c
index a4b22ef..6137b77 100644
--- a/libbb/speed_table.c
+++ b/libbb/speed_table.c
@@ -56,7 +56,7 @@
 
 enum { NUM_SPEEDS = (sizeof(speeds) / sizeof(struct speed_map)) };
 
-unsigned long tty_baud_to_value(speed_t speed)
+unsigned int tty_baud_to_value(speed_t speed)
 {
 	int i = 0;
 
@@ -72,7 +72,7 @@
 	return 0;
 }
 
-speed_t tty_value_to_baud(unsigned long value)
+speed_t tty_value_to_baud(unsigned int value)
 {
 	int i = 0;