fix for building on windows, clear some warnings too
[blender.git] / source / blender / blenkernel / intern / writeframeserver.c
index d13d15d1269e4fc2537fd72478b13d975a8c6f30..15cb3b66db7f84891b48604d432a8e2d68a847d3 100644 (file)
@@ -257,7 +257,11 @@ int frameserver_loop(RenderData *rd, ReportList *UNUSED(reports))
        struct timeval tv;
        struct sockaddr_in      addr;
        int len, rval;
+#ifdef FREE_WINDOWS
+       int socklen;
+#else
        unsigned int socklen;
+#endif
        char buf[4096];
 
        if (connsock != -1) {