mirror of
https://github.com/reactos/reactos.git
synced 2024-07-05 12:15:46 +00:00
required cast because unsigned value ranges are always >= 0
svn path=/trunk/; revision=25578
This commit is contained in:
parent
c353557eea
commit
8d3d576d40
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue