Merge pull request #213 from Dmitry-Me/likelyWrongSignature

Function signature is most likely wrong
This commit is contained in:
Lee Thomason 2014-09-27 15:57:53 -07:00
commit 853de8169b
1 changed files with 2 additions and 2 deletions

View File

@ -558,8 +558,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 );