Fix signed/unsigned comparison in gos_linux.c
This commit is contained in:
parent
05b547bbbb
commit
aa9e187581
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user