r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
[samba.git] / source / nsswitch / wb_common.c
index 5521614965af548ceb8f5f6adb40f6ec581ea62e..0e2092794116eb2f62e8f96e3666cf11ca65a8e1 100644 (file)
@@ -234,7 +234,8 @@ static int winbind_named_pipe_sock(const char *dir)
                struct timeval tv;
                fd_set w_fds;
                int ret;
-               int connect_errno = 0, errnosize;
+               int connect_errno = 0;
+               socklen_t errnosize;
 
                if (wait_time >= CONNECT_TIMEOUT)
                        goto error_out;