Try to fix all /W4 warnings in VC2015

This commit is contained in:
Milo Yip
2016-04-04 15:01:34 +08:00
parent 2418d7cd91
commit c843a2655b
9 changed files with 41 additions and 35 deletions

View File

@@ -720,7 +720,7 @@ TEST(Reader, ParseString_Error) {
TEST_STRINGENCODING_ERROR(UTF32<>, UTF8<>, unsigned, ARRAY('[', '\"', 0x110000, '\"', ']', '\0'));
// Malform ASCII sequence
TEST_STRINGENCODING_ERROR(ASCII<>, UTF8<>, char, ARRAY('[', '\"', char(0x80), '\"', ']', '\0'));
TEST_STRINGENCODING_ERROR(ASCII<>, UTF8<>, char, ARRAY('[', '\"', char(0x80u), '\"', ']', '\0'));
#undef ARRAY
#undef TEST_STRINGARRAY_ERROR