mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:33:07 +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
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
if(ini.get_vt100_mode() && cbString + (unsigned)CON_CUR_X == (unsigned)CON_COLS) {
|
||||||
|
|
||||||
cbString--;
|
cbString--;
|
||||||
if(cbString >= 0) WriteConsole(hConsole, pszString, cbString, &Result, 0);
|
if((long)cbString >= 0) WriteConsole(hConsole, pszString, cbString, &Result, 0);
|
||||||
|
|
||||||
COORD dwBufferCoord;
|
COORD dwBufferCoord;
|
||||||
dwBufferCoord.X = 0;
|
dwBufferCoord.X = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue