From 666fe51a7bbfa61f88d88e75bf11ca1d78321f95 Mon Sep 17 00:00:00 2001 From: Aleksandar Fabijanic Date: Wed, 26 Dec 2012 22:24:49 -0600 Subject: [PATCH] fixed VS90 Foundation projects --- Foundation/Foundation_x64_vs90.vcproj | 98 ++++++++++++++++--- .../testsuite/TestSuite_x64_vs90.vcproj | 42 +++++++- Net/src/NetworkInterface.cpp | 4 +- 3 files changed, 124 insertions(+), 20 deletions(-) diff --git a/Foundation/Foundation_x64_vs90.vcproj b/Foundation/Foundation_x64_vs90.vcproj index 886387cc9..3ee699ca6 100644 --- a/Foundation/Foundation_x64_vs90.vcproj +++ b/Foundation/Foundation_x64_vs90.vcproj @@ -1,7 +1,7 @@ - - - - @@ -1030,6 +1022,10 @@ RelativePath=".\src\NumberParser.cpp" > + + @@ -1038,10 +1034,6 @@ RelativePath=".\src\String.cpp" > - - @@ -1138,6 +1130,10 @@ RelativePath=".\include\Poco\Exception.h" > + + @@ -1310,6 +1306,10 @@ RelativePath=".\src\DeflatingStream.cpp" > + + @@ -1506,6 +1506,10 @@ RelativePath=".\include\Poco\DeflatingStream.h" > + + @@ -5580,6 +5584,10 @@ RelativePath=".\src\Latin1Encoding.cpp" > + + @@ -5616,6 +5624,10 @@ RelativePath=".\src\UTF16Encoding.cpp" > + + @@ -5624,6 +5636,14 @@ RelativePath=".\src\UTF8String.cpp" > + + + + @@ -5640,6 +5660,10 @@ RelativePath=".\include\Poco\Latin1Encoding.h" > + + @@ -5676,6 +5700,10 @@ RelativePath=".\include\Poco\UTF16Encoding.h" > + + @@ -5684,6 +5712,14 @@ RelativePath=".\include\Poco\UTF8String.h" > + + + + @@ -6002,6 +6038,42 @@ + + + + + + + + + + + + + + + + + + diff --git a/Foundation/testsuite/TestSuite_x64_vs90.vcproj b/Foundation/testsuite/TestSuite_x64_vs90.vcproj index 927785125..7acc5cd06 100644 --- a/Foundation/testsuite/TestSuite_x64_vs90.vcproj +++ b/Foundation/testsuite/TestSuite_x64_vs90.vcproj @@ -1,7 +1,7 @@ + + @@ -555,10 +559,6 @@ RelativePath=".\src\CoreTestSuite.cpp" > - - @@ -627,6 +627,10 @@ RelativePath=".\src\AnyTest.h" > + + @@ -735,6 +739,10 @@ RelativePath=".\src\CountingStreamTest.cpp" > + + @@ -795,6 +803,10 @@ RelativePath=".\src\CountingStreamTest.h" > + + @@ -1785,6 +1797,26 @@ + + + + + + + + + + diff --git a/Net/src/NetworkInterface.cpp b/Net/src/NetworkInterface.cpp index a5c680383..74c6e8017 100644 --- a/Net/src/NetworkInterface.cpp +++ b/Net/src/NetworkInterface.cpp @@ -788,8 +788,8 @@ NetworkInterface NetworkInterface::forAddress(const IPAddress& addr) for (; it != end; ++it) { - const unsigned count = it->second.addressList().size(); - for (unsigned i = 0; i < count; ++i) + const std::size_t count = it->second.addressList().size(); + for (int i = 0; i < count; ++i) { if (it->second.address(i) == addr) return it->second;