Fix signed/unsigned comparison in gos_linux.c

master
Joel Bodenmann 2021-09-21 18:07:54 +02:00
parent 05b547bbbb
commit aa9e187581
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ gThreadreturn gfxThreadWait(gThread thread) {
res = 0;
sem_getvalue(&pSem->sem, &res);
if (res < pSem->max)
if (res < (int)pSem->max)
sem_post(&pSem->sem);
}
#else