mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #213 from Dmitry-Me/likelyWrongSignature
Function signature is most likely wrong
This commit is contained in:
commit
853de8169b
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue