[FUSION_WINETEST] - Fix a warning. Already applied upstream.
authorThomas Faber <thomas.faber@reactos.org>
Tue, 19 Jun 2012 03:53:47 +0000 (03:53 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Tue, 19 Jun 2012 03:53:47 +0000 (03:53 +0000)
[WS2_32_WINETEST] - Fix an ok(). Already applied upstream.

svn path=/trunk/; revision=56746

rostests/winetests/fusion/asmcache.c
rostests/winetests/ws2_32/sock.c

index 141e442..1b7cb28 100644 (file)
@@ -412,7 +412,7 @@ static struct _tagASSEMBLY
         5, /* MinorRuntimeVersion */
         { 0x2188, 0x1B4 }, /* MetaData */
         COMIMAGE_FLAGS_ILONLY | COMIMAGE_FLAGS_STRONGNAMESIGNED, /* Flags */
-        0, /* EntryPointToken */
+        { 0 }, /* EntryPointToken */
         { 0x20D0, 0xB8 }, /* Resources */
         { 0x2050, 0x80 }, /* StrongNameSignature */
         { 0 }, /* CodeManagerTable */
index 663589f..0cc19d2 100644 (file)
@@ -1030,14 +1030,14 @@ static void test_set_getsockopt(void)
     SetLastError(0xdeadbeef);
     err = setsockopt(s, 0xffffffff, SO_RCVTIMEO, (char *) &timeout, size);
     ok( (err == SOCKET_ERROR) && (WSAGetLastError() == WSAEINVAL),
-        "got %d with %d (expected SOCKET_ERROR with WSAEINVAL\n",
+        "got %d with %d (expected SOCKET_ERROR with WSAEINVAL)\n",
         err, WSAGetLastError());
 
     timeout = SOCKTIMEOUT1;
     SetLastError(0xdeadbeef);
     err = setsockopt(s, 0x00008000, SO_RCVTIMEO, (char *) &timeout, size);
     ok( (err == SOCKET_ERROR) && (WSAGetLastError() == WSAEINVAL),
-        "got %d with %d (expected SOCKET_ERROR with WSAEINVAL\n",
+        "got %d with %d (expected SOCKET_ERROR with WSAEINVAL)\n",
         err, WSAGetLastError());
 
     closesocket(s);