From 87e1ac73fce24a2c5dd1dbb1d8c183a996e0b0aa Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Mon, 3 Feb 2003 23:09:04 +0000 Subject: [PATCH] bug fix svn path=/trunk/boinc/; revision=857 --- client/client_state.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client_state.C b/client/client_state.C index 29e00ae140..b1dc83e160 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -270,9 +270,9 @@ int CLIENT_STATE::check_time_tests() { int retval, exit_code = 0; retval = waitpid(time_tests_id, &exit_code, WNOHANG); if(retval == 0) { - if(time(NULL) > time_tests_start + MAX_TIME_TESTS_SECONDS) { + if((unsigned int)time(NULL) > time_tests_start + MAX_TIME_TESTS_SECONDS) { show_message("Time tests timed out, using default values", "low"); - kill(pid, SIGKILL); + kill(time_tests_id, SIGKILL); host_info.p_fpops = 1e9; host_info.p_iops = 1e9; host_info.p_membw = 4e9;