Fix typecast warning

Este commit está contenido en:
Carsten Sonne Larsen 2018-08-05 22:30:44 +02:00
padre be4b1e7fd6
commit 434d4a72e2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -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;
}