fixed test compile on Mac/clang

This commit is contained in:
Alex 2012-12-19 00:57:44 -06:00
parent 8fe3a398af
commit 6fa1270163

View File

@ -950,7 +950,7 @@ void StringTest::testIntToString()
try try
{ {
char pResult[POCO_MAX_INT_STRING_LEN]; char pResult[POCO_MAX_INT_STRING_LEN];
unsigned sz = POCO_MAX_INT_STRING_LEN; std::size_t sz = POCO_MAX_INT_STRING_LEN;
intToStr(0, 10, pResult, sz, false, sz + 1, ' '); intToStr(0, 10, pResult, sz, false, sz + 1, ' ');
fail ("must throw RangeException"); fail ("must throw RangeException");
} catch (RangeException&) { } } catch (RangeException&) { }