diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-20 16:43:05 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-20 16:43:05 +0000 |
commit | 1130a60bceff004776ac1b2e4d6209266f3d7544 (patch) | |
tree | a0209344822b04dada8c708dc76c4454f03f45f6 | |
parent | 154b9bf1845c70cc9541641b40a3d2264cf343ad (diff) | |
download | busybox-w32-1130a60bceff004776ac1b2e4d6209266f3d7544.tar.gz busybox-w32-1130a60bceff004776ac1b2e4d6209266f3d7544.tar.bz2 busybox-w32-1130a60bceff004776ac1b2e4d6209266f3d7544.zip |
The type changed too.
git-svn-id: svn://busybox.net/trunk/busybox@15441 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | libbb/speed_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
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[] = { | |||
56 | 56 | ||
57 | enum { NUM_SPEEDS = (sizeof(speeds) / sizeof(struct speed_map)) }; | 57 | enum { NUM_SPEEDS = (sizeof(speeds) / sizeof(struct speed_map)) }; |
58 | 58 | ||
59 | unsigned long tty_baud_to_value(speed_t speed) | 59 | unsigned int tty_baud_to_value(speed_t speed) |
60 | { | 60 | { |
61 | int i = 0; | 61 | int i = 0; |
62 | 62 | ||
@@ -72,7 +72,7 @@ unsigned long tty_baud_to_value(speed_t speed) | |||
72 | return 0; | 72 | return 0; |
73 | } | 73 | } |
74 | 74 | ||
75 | speed_t tty_value_to_baud(unsigned long value) | 75 | speed_t tty_value_to_baud(unsigned int value) |
76 | { | 76 | { |
77 | int i = 0; | 77 | int i = 0; |
78 | 78 | ||