summaryrefslogtreecommitdiffstats
path: root/sdpd
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-07-05 21:15:41 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-07-05 21:15:41 +0000
commit1f422e5f2b343d35a8c77ce4be16f74b2819b2bf (patch)
treee24bdebe86afcff3ce29cc0f47f05caec7ab7bc0 /sdpd
parent952e7cc56afa29f77a828aa256985ba38a06fa80 (diff)
Fix some GCC 4.0 warnings
Diffstat (limited to 'sdpd')
-rw-r--r--sdpd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdpd/main.c b/sdpd/main.c
index fc3dd22d..b80fc0bb 100644
--- a/sdpd/main.c
+++ b/sdpd/main.c
@@ -316,7 +316,7 @@ static int become_daemon(void)
static inline void handle_request(int sk, char *data, int len)
{
struct sockaddr_l2 sa;
- int size;
+ socklen_t size;
sdp_req_t req;
size = sizeof(sa);