From 388e1dd37ac57176e29647514b10b427b5d2432a Mon Sep 17 00:00:00 2001 From: Andreas Waidler Date: Fri, 12 Mar 2010 23:46:26 +0100 Subject: [PATCH] Fixed type in tests --- tests/src/TestException.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/TestException.cxx b/tests/src/TestException.cxx index e0ba2a7..fbcde1a 100644 --- a/tests/src/TestException.cxx +++ b/tests/src/TestException.cxx @@ -19,7 +19,7 @@ void TestException::testCopyingOfShortMessage() void TestException::testWhetherLongMessageDoesNotOverflow() { - unsigned int length = libsex::Exception::LENGTH; + size_t length = libsex::Exception::LENGTH; std::string str; for (int i = 0; i < length; ++i) { @@ -79,7 +79,7 @@ void TestException::testWhetherNoticeIsAppendedOnBadAlloc() void TestException::testWhetherNoticeDoesNotOverflowIfBufferTooSmall() { - unsigned int length = libsex::Exception::LENGTH; + size_t length = libsex::Exception::LENGTH; std::string str; for (int i = 0; i < length; ++i) { -- 2.11.4.GIT