Function signature is most likely wrong

This commit is contained in:
Dmitry-Me 2014-09-24 16:14:24 +04:00
parent b0776aeead
commit 72bb0ecc39
1 changed files with 2 additions and 2 deletions

View File

@ -561,8 +561,8 @@ public:
return false; return false;
} }
inline static int IsUTF8Continuation( const char p ) { inline static bool IsUTF8Continuation( const char p ) {
return p & 0x80; return ( p & 0x80 ) != 0;
} }
static const char* ReadBOM( const char* p, bool* hasBOM ); static const char* ReadBOM( const char* p, bool* hasBOM );