1
0
Fork 0

Fix typecast warning

Esse commit está contido em:
Carsten Sonne Larsen 2018-08-05 22:30:44 +02:00
commit 434d4a72e2
1 arquivos alterados com 1 adições e 1 exclusões

Ver arquivo

@ -124,7 +124,7 @@ void TermiosConsole::WriteString(const char* string)
void TermiosConsole::Write(const char* string, unsigned int length)
{
ssize_t res = write(STDOUT_FILENO, string, length);
if (res != length)
if (res != (ssize_t)length)
{
exit = true;
}