[FUSION_WINETEST] - Fix a warning. Already applied upstream.

[WS2_32_WINETEST] - Fix an ok(). Already applied upstream.

svn path=/trunk/; revision=56746
This commit is contained in:
Thomas Faber 2012-06-19 03:53:47 +00:00
parent 817ab61c52
commit 8479f39975
2 changed files with 3 additions and 3 deletions

View 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 */

View 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);