| 1 | |
| 2 | lib/cddb_net.c | 2 +- |
| 3 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 4 | |
| 5 | |
| 6 | |
| 7 | int timeout_connect(int sockfd, const st |
| 8 | default: |
| 9 | /* we got connected, check error condition */ |
| 10 | l = sizeof(rv); |
| 11 | - getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &rv, &l); |
| 12 | + getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &rv, (socklen_t * restrict)&l); |
| 13 | if (rv) { |
| 14 | /* something went wrong, simulate normal connect behaviour */ |
| 15 | errno = rv; |
| 16 |