minor compile fix

svn path=/trunk/boinc/; revision=627
This commit is contained in:
Eric Heien 2002-11-16 00:40:25 +00:00
parent b456b8ae30
commit d1c98d2427
1 changed files with 4 additions and 4 deletions

View File

@ -538,10 +538,10 @@ FILE_INFO* CLIENT_STATE::lookup_file_info(PROJECT* p, char* name) {
//
ACTIVE_TASK* CLIENT_STATE::lookup_active_task_by_result(RESULT* rep)
{
for(int i = 0; i < active_tasks.active_tasks.size(); i ++) {
if(active_tasks.active_tasks[i]->result == rep) return active_tasks.active_tasks[i];
}
return NULL;
for(unsigned int i = 0; i < active_tasks.active_tasks.size(); i ++) {
if(active_tasks.active_tasks[i]->result == rep) return active_tasks.active_tasks[i];
}
return NULL;
}
// functions to create links between state objects