diff options
Diffstat (limited to 'icespider/unittests')
-rw-r--r-- | icespider/unittests/testApp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icespider/unittests/testApp.cpp b/icespider/unittests/testApp.cpp index 46fda40..1ce26f4 100644 --- a/icespider/unittests/testApp.cpp +++ b/icespider/unittests/testApp.cpp @@ -526,7 +526,7 @@ BOOST_AUTO_TEST_CASE(testErrorHandler_Unhandled) BOOST_REQUIRE_EQUAL(h["Status"], "500 TestIceSpider::Ex"); BOOST_REQUIRE_EQUAL(h["Content-Type"], "text/plain"); auto & o = requestDeleteItem.output; - auto b = o.str().substr(o.tellg()); + auto b = o.str().substr(static_cast<std::string::size_type>(o.tellg())); BOOST_REQUIRE_EQUAL(b, "Exception type: TestIceSpider::Ex\nDetail: test error\n"); } |