fixed GH #363: DateTimeParser tryParse/parse

This commit is contained in:
Alex Fabijanic
2014-05-22 03:08:41 -05:00
parent c99c776aff
commit 83d11b5a00
6 changed files with 42 additions and 6 deletions

View File

@@ -969,7 +969,7 @@ void StringTest::testIntToString()
{
char pResult[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, (int) sz + 1, ' ');
fail ("must throw RangeException");
} catch (RangeException&) { }
}