[ros-diffs] [arty] 39283: Suppress a warning about -1, since wchar_t is typically unsigned.
arty at svn.reactos.org
arty at svn.reactos.org
Mon Feb 2 07:19:02 CET 2009
Author: arty
Date: Mon Feb 2 00:19:01 2009
New Revision: 39283
URL: http://svn.reactos.org/svn/reactos?rev=39283&view=rev
Log:
Suppress a warning about -1, since wchar_t is typically unsigned.
Modified:
trunk/reactos/tools/utf16le/utf16le.cpp
Modified: trunk/reactos/tools/utf16le/utf16le.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/utf16le/utf16le.cpp?rev=39283&r1=39282&r2=39283&view=diff
==============================================================================
--- trunk/reactos/tools/utf16le/utf16le.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/utf16le/utf16le.cpp [iso-8859-1] Mon Feb 2 00:19:01 2009
@@ -169,7 +169,7 @@
}
wchar_t get_wchar_t()
{
- wchar_t ret = -1;
+ wchar_t ret = (wchar_t)-1;
switch (encoding)
{
case detect: // if still unknwon
More information about the Ros-diffs
mailing list