commit | 72bb0ecc391167ae426f24a1004a9faa8a6975a4 | [log] [tgz] |
---|---|---|
author | Dmitry-Me <wipedout@yandex.ru> | Wed Sep 24 16:14:24 2014 +0400 |
committer | Dmitry-Me <wipedout@yandex.ru> | Wed Sep 24 16:14:24 2014 +0400 |
tree | 37dca64bbc3d707d58164096ed40fa7b8e4a1fbf | |
parent | b0776aeead5087b78bc1032565cea325ef3a7060 [diff] [blame] |
Function signature is most likely wrong
diff --git a/tinyxml2.h b/tinyxml2.h index 1fdc928..c95f8c3 100755 --- a/tinyxml2.h +++ b/tinyxml2.h
@@ -561,8 +561,8 @@ return false; } - inline static int IsUTF8Continuation( const char p ) { - return p & 0x80; + inline static bool IsUTF8Continuation( const char p ) { + return ( p & 0x80 ) != 0; } static const char* ReadBOM( const char* p, bool* hasBOM );