add typecasts to reduce warnings on Macintosh compiler (r/a mike mccabe)
git-svn-id: svn://10.0.0.236/trunk@17095 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e2914acc38
commit
d98b24c0f3
@ -336,7 +336,7 @@ js_SuspendThread(JSThinLock *p)
|
||||
PR_Unlock(fl->slock);
|
||||
return 1;
|
||||
}
|
||||
stat = PR_WaitCondVar(fl->svar,PR_INTERVAL_NO_TIMEOUT);
|
||||
stat = (JSStatus)PR_WaitCondVar(fl->svar,PR_INTERVAL_NO_TIMEOUT);
|
||||
if (stat == JS_FAILURE) {
|
||||
fl->susp--;
|
||||
return 0;
|
||||
@ -362,7 +362,7 @@ js_ResumeThread(JSThinLock *p)
|
||||
PR_Unlock(fl->slock);
|
||||
return;
|
||||
}
|
||||
stat = PR_NotifyCondVar(fl->svar);
|
||||
stat = (JSStatus)PR_NotifyCondVar(fl->svar);
|
||||
JS_ASSERT(stat != JS_FAILURE);
|
||||
PR_Unlock(fl->slock);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user