mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
The type changed too.
This commit is contained in:
parent
5ab8f7de4f
commit
8437ede6c2
@ -56,7 +56,7 @@ static const struct speed_map speeds[] = {
|
|||||||
|
|
||||||
enum { NUM_SPEEDS = (sizeof(speeds) / sizeof(struct speed_map)) };
|
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;
|
int i = 0;
|
||||||
|
|
||||||
@ -72,7 +72,7 @@ unsigned long tty_baud_to_value(speed_t speed)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
speed_t tty_value_to_baud(unsigned long value)
|
speed_t tty_value_to_baud(unsigned int value)
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user