The type changed too.
authorRob Landley <rob@landley.net>
Tue, 20 Jun 2006 16:43:05 +0000 (16:43 -0000)
committerRob Landley <rob@landley.net>
Tue, 20 Jun 2006 16:43:05 +0000 (16:43 -0000)
libbb/speed_table.c

index a4b22ef98ccfae281944c06641dad63ee7432ab1..6137b7731edbefeb6c00205b0cd9c963e2b33a14 100644 (file)
@@ -56,7 +56,7 @@ static const struct speed_map speeds[] = {
 
 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 @@ unsigned long tty_baud_to_value(speed_t speed)
        return 0;
 }
 
-speed_t tty_value_to_baud(unsigned long value)
+speed_t tty_value_to_baud(unsigned int value)
 {
        int i = 0;