From: Rob Landley Date: Tue, 20 Jun 2006 16:43:05 +0000 (-0000) Subject: The type changed too. X-Git-Tag: 1_2_0~110 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8437ede6c2ada03f48709e81e43a8195146b420e;p=oweals%2Fbusybox.git The type changed too. --- diff --git a/libbb/speed_table.c b/libbb/speed_table.c index a4b22ef98..6137b7731 100644 --- a/libbb/speed_table.c +++ b/libbb/speed_table.c @@ -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;