mirror of
https://gitlab.com/rnger/amath
synced 2025-12-08 14:58:29 +00:00
Fix typecast warning
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user