From d1c98d2427ccb20a97fb514a29e0bcda387c66c9 Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Sat, 16 Nov 2002 00:40:25 +0000 Subject: [PATCH] minor compile fix svn path=/trunk/boinc/; revision=627 --- client/client_state.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/client_state.C b/client/client_state.C index 9c833e30b4..c893f9724c 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -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