17 lines
481 B
Diff
17 lines
481 B
Diff
|
Subject: Fix gcc4.1 compiler warnings/errors in ud_socket.c
|
||
|
|
||
|
From: Philipp Thomas <pth@suse.de>
|
||
|
Signed-off-by: Stefan Seyfried <seife@suse.de>
|
||
|
|
||
|
--- ud_socket.c 2005/04/04 14:47:18 1.1
|
||
|
+++ ud_socket.c 2005/04/04 14:47:30
|
||
|
@@ -58,7 +58,7 @@
|
||
|
while (1) {
|
||
|
int newsock = 0;
|
||
|
struct sockaddr_un cliaddr;
|
||
|
- int len = sizeof(struct sockaddr_un);
|
||
|
+ socklen_t len = sizeof(struct sockaddr_un);
|
||
|
|
||
|
newsock = accept(listenfd, (struct sockaddr *)&cliaddr, &len);
|
||
|
if (newsock < 0) {
|