mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
required cast because unsigned value ranges are always >= 0
svn path=/trunk/; revision=25578
This commit is contained in:
@@ -417,7 +417,7 @@ unsigned long TConsole::WriteStringFast(const char* pszString, unsigned long cbS
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user