Browse Source

Fix typecast warning

tags/1.8.4
parent
commit
434d4a72e2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/system/console_termios.cpp

+ 1
- 1
src/system/console_termios.cpp View File

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


Loading…
Cancel
Save