Make C compiler happy.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21826 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer 2007-08-04 17:09:46 +00:00
parent fc069a2ace
commit 1384a3a81f

View File

@ -33,10 +33,11 @@ static struct {
int32
suggest_thread_priority(uint32 what, int32 period, bigtime_t jitter, bigtime_t length)
{
int i;
int32 priority = what == B_DEFAULT_MEDIA_PRIORITY ? 0x0a : 0;
// default priority
for (int i = 0; gWhatPriorityArray[i].what != (uint32)-1; i ++) {
for (i = 0; gWhatPriorityArray[i].what != (uint32)-1; i ++) {
if ((what & gWhatPriorityArray[i].what) != 0) {
priority = gWhatPriorityArray[i].priority;
break;