X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f30c75e44a723ab463e1124ce0b706930432b07..b5fe7ca67bf3121959a0b5a59afd00c1708f2f03:/tests/net/socket.cpp diff --git a/tests/net/socket.cpp b/tests/net/socket.cpp index c0eb7e8fe9..5928915e41 100644 --- a/tests/net/socket.cpp +++ b/tests/net/socket.cpp @@ -179,7 +179,7 @@ void SocketTestCase::ReadNormal() sock->Read(bufSmall, WXSIZEOF(bufSmall)); CPPUNIT_ASSERT_EQUAL( wxSOCKET_NOERROR, sock->LastError() ); - CPPUNIT_ASSERT_EQUAL( WXSIZEOF(bufSmall), sock->LastCount() ); + CPPUNIT_ASSERT_EQUAL( WXSIZEOF(bufSmall), (size_t)sock->LastCount() ); char bufBig[102400]; @@ -199,7 +199,7 @@ void SocketTestCase::ReadBlock() sock->Read(bufSmall, WXSIZEOF(bufSmall)); CPPUNIT_ASSERT_EQUAL( wxSOCKET_NOERROR, sock->LastError() ); - CPPUNIT_ASSERT_EQUAL( WXSIZEOF(bufSmall), sock->LastCount() ); + CPPUNIT_ASSERT_EQUAL( WXSIZEOF(bufSmall), (size_t)sock->LastCount() ); char bufBig[102400]; @@ -235,7 +235,7 @@ void SocketTestCase::ReadWaitall() sock->Read(buf, WXSIZEOF(buf)); CPPUNIT_ASSERT_EQUAL( wxSOCKET_NOERROR, sock->LastError() ); - CPPUNIT_ASSERT_EQUAL( WXSIZEOF(buf), sock->LastCount() ); + CPPUNIT_ASSERT_EQUAL( WXSIZEOF(buf), (size_t)sock->LastCount() ); } void SocketTestCase::UrlTest()