summaryrefslogtreecommitdiff
path: root/package/acpid/acpid-sign-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/acpid/acpid-sign-warning.patch')
-rw-r--r--package/acpid/acpid-sign-warning.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/acpid/acpid-sign-warning.patch b/package/acpid/acpid-sign-warning.patch
new file mode 100644
index 000000000..ec66ace0d
--- /dev/null
+++ b/package/acpid/acpid-sign-warning.patch
@@ -0,0 +1,11 @@
+--- acpid-1.0.4/ud_socket.c
++++ acpid-1.0.4/ud_socket.c
+@@ -58,7 +58,7 @@ ud_accept(int listenfd, struct ucred *cr
+ 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) {