From 36859720df1ff6cd58c6fd60ec2e5c10fbeff9bb Mon Sep 17 00:00:00 2001 From: Sylvain Petreolle Date: Sat, 29 Nov 2008 23:11:14 +0000 Subject: [PATCH] add missing parenthesis in utf16le svn path=/trunk/; revision=37753 --- reactos/tools/utf16le/utf16le.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/tools/utf16le/utf16le.cpp b/reactos/tools/utf16le/utf16le.cpp index afda442b71b..c6cf9b19749 100644 --- a/reactos/tools/utf16le/utf16le.cpp +++ b/reactos/tools/utf16le/utf16le.cpp @@ -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; -- 2.17.1