Cast MB_CUR_MAX to type size_t
This commit is contained in:
committed by
Keith Winstein
parent
96fe2349bb
commit
26e9e91adb
@@ -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 )
|
||||||
|
|||||||
Reference in New Issue
Block a user