spogulis no https://gitlab.com/rnger/amath
Fix typecast warning
This commit is contained in:
vecāks
be4b1e7fd6
revīzija
434d4a72e2
|
@ -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;
|
||||
}
|
||||
|
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā