Author: janderwald
Date: Mon Jan 22 02:21:55 2007
New Revision: 25578
URL:
http://svn.reactos.org/svn/reactos?rev=25578&view=rev
Log:
required cast because unsigned value ranges are always >= 0
Modified:
trunk/reactos/base/applications/network/telnet/src/tconsole.cpp
Modified: trunk/reactos/base/applications/network/telnet/src/tconsole.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/telnet/src/tconsole.cpp (original)
+++ trunk/reactos/base/applications/network/telnet/src/tconsole.cpp Mon Jan 22 02:21:55
2007
@@ -417,7 +417,7 @@
if(ini.get_vt100_mode() && cbString + (unsigned)CON_CUR_X ==
(unsigned)CON_COLS) {
cbString--;
- if(cbString >= 0) WriteConsole(hConsole, pszString, cbString, &Result, 0);
+ if((long)cbString >= 0) WriteConsole(hConsole, pszString, cbString, &Result,
0);
COORD dwBufferCoord;
dwBufferCoord.X = 0;