aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-20 16:43:05 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-20 16:43:05 +0000
commit1130a60bceff004776ac1b2e4d6209266f3d7544 (patch)
treea0209344822b04dada8c708dc76c4454f03f45f6
parent154b9bf1845c70cc9541641b40a3d2264cf343ad (diff)
downloadbusybox-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.c4
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
57enum { NUM_SPEEDS = (sizeof(speeds) / sizeof(struct speed_map)) }; 57enum { NUM_SPEEDS = (sizeof(speeds) / sizeof(struct speed_map)) };
58 58
59unsigned long tty_baud_to_value(speed_t speed) 59unsigned 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
75speed_t tty_value_to_baud(unsigned long value) 75speed_t tty_value_to_baud(unsigned int value)
76{ 76{
77 int i = 0; 77 int i = 0;
78 78