Fix build
authorPeter Hater <7element@mail.bg>
Fri, 28 Oct 2016 07:11:20 +0000 (07:11 +0000)
committerPeter Hater <7element@mail.bg>
Fri, 28 Oct 2016 07:11:20 +0000 (07:11 +0000)
svn path=/trunk/; revision=73053

rostests/apitests/ws2_32/WSAAsync.c

index f7e35fe..6d5e319 100644 (file)
@@ -139,7 +139,7 @@ START_TEST(WSAAsync)
             {
                 addrsize = sizeof(addr_remote);
                 sockaccept = accept(fSockets[dwWait - WAIT_OBJECT_0], (struct sockaddr*)&addr_remote, &addrsize);
-                ok(sockaccept != INVALID_SOCKET, "ERROR: Connection accept function failed, error %ld\n", WSAGetLastError());
+                ok(sockaccept != INVALID_SOCKET, "ERROR: Connection accept function failed, error %d\n", WSAGetLastError());
                 dwFlags |= FD_ACCEPT;
             }
         }