summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRob Landley2006-06-20 16:43:05 +0000
committerRob Landley2006-06-20 16:43:05 +0000
commit8437ede6c2ada03f48709e81e43a8195146b420e (patch)
treea0209344822b04dada8c708dc76c4454f03f45f6 /libbb
parent5ab8f7de4fa4015f4be79be3e436d536c3be225d (diff)
downloadbusybox-8437ede6c2ada03f48709e81e43a8195146b420e.zip
busybox-8437ede6c2ada03f48709e81e43a8195146b420e.tar.gz
The type changed too.
Diffstat (limited to 'libbb')
-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 a4b22ef..6137b77 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;