From 1f422e5f2b343d35a8c77ce4be16f74b2819b2bf Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 5 Jul 2005 21:15:41 +0000 Subject: Fix some GCC 4.0 warnings --- dund/dun.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dund/dun.c') diff --git a/dund/dun.c b/dund/dun.c index 6611ad86..0593cb85 100644 --- a/dund/dun.c +++ b/dund/dun.c @@ -182,7 +182,8 @@ static int dun_create_tty(int sk, char *tty, int size) { struct sockaddr_rc sa; struct stat st; - int id, alen, try = 3; + socklen_t alen; + int id, try = 3; struct rfcomm_dev_req req = { flags: (1 << RFCOMM_REUSE_DLC) | (1 << RFCOMM_RELEASE_ONHUP), -- cgit