fix warnings

This commit is contained in:
Erik Ekman 2009-01-07 18:16:49 +00:00 committed by Erik Ekman
parent 3ba81894fc
commit 9383c84479
2 changed files with 2 additions and 2 deletions

View file

@ -227,7 +227,7 @@ tun_setip(const char *ip, int netbits)
}
int
tun_setmtu(const size_t mtu)
tun_setmtu(const unsigned mtu)
{
char cmdline[512];

View file

@ -22,6 +22,6 @@ void close_tun(int);
int write_tun(int, char *, size_t);
ssize_t read_tun(int, char *, size_t);
int tun_setip(const char *, int);
int tun_setmtu(const size_t);
int tun_setmtu(const unsigned);
#endif /* _TUN_H_ */