gcc-4.1.1 does not allow signed/unsigned type
mismatches by default, causing acpid compile to break:
ud_socket.c: In function 'ud_accept':
ud_socket.c:63: warning: pointer targets in passing
argument 3 of 'accept' differ in signedness
ud_socket.c:74: warning: pointer targets in passing
argument 5 of 'getsockopt' differ in signedness
to fix, make `int len` an `unsigned int len` and all
works well again.
Log in to post a comment.