Cast MB_CUR_MAX to type size_t

This commit is contained in:
Quentin Smith
2012-02-25 21:42:28 -05:00
committed by Keith Winstein
parent 96fe2349bb
commit 26e9e91adb
+1 -1
View File
@@ -58,7 +58,7 @@ std::list<Parser::Action *> Parser::Parser::input( wchar_t ch )
Parser::UTF8Parser::UTF8Parser() Parser::UTF8Parser::UTF8Parser()
: parser(), buf_len( 0 ) : parser(), buf_len( 0 )
{ {
assert( BUF_SIZE >= MB_CUR_MAX ); assert( BUF_SIZE >= (size_t)MB_CUR_MAX );
} }
std::list<Parser::Action *> Parser::UTF8Parser::input( char c ) std::list<Parser::Action *> Parser::UTF8Parser::input( char c )