summaryrefslogtreecommitdiffstats
path: root/polyp/socket-client.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-01 00:46:56 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-01 00:46:56 +0000
commit36550f4a66ae28e1b81b9b818c38cd0fcd1302a1 (patch)
treec76806652672d381462d3c0b6fe03995a80aae34 /polyp/socket-client.c
parent34fe8bd893ed9c7531bc4898b934ef9d4cdf3e68 (diff)
remove most -W compiler warnings
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@164 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/socket-client.c')
-rw-r--r--polyp/socket-client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/polyp/socket-client.c b/polyp/socket-client.c
index 3852c1ad..25940122 100644
--- a/polyp/socket-client.c
+++ b/polyp/socket-client.c
@@ -65,7 +65,8 @@ static struct pa_socket_client*pa_socket_client_new(struct pa_mainloop_api *m) {
static void do_call(struct pa_socket_client *c) {
struct pa_iochannel *io = NULL;
- int error, lerror;
+ int error;
+ socklen_t lerror;
assert(c && c->callback);
pa_socket_client_ref(c);