add missing parenthesis in utf16le
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 29 Nov 2008 23:11:14 +0000 (23:11 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 29 Nov 2008 23:11:14 +0000 (23:11 +0000)
svn path=/trunk/; revision=37753

reactos/tools/utf16le/utf16le.cpp

index afda442..c6cf9b1 100644 (file)
@@ -184,7 +184,7 @@ class utf_converter
                                // upper 5 bits: data filled with 0
                                if (tmp & 0x80)
                                {
-                                       if (tmp & 0xc0 != 0xc0)
+                                       if ((tmp & 0xc0) != 0xc0)
                                        {
                                                cerr << "UTF-8 Error: invalid data byte" << endl;
                                                return ret;