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?…
==============================================================================
--- 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