Fix signed/unsigned comparison in gos_linux.c
This commit is contained in:
parent
05b547bbbb
commit
aa9e187581
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue