From 6e1e477e7f794edffba99199e79a9bc7ad5663eb Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sat, 29 May 2004 21:51:57 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3470 --- sched/handle_request.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sched/handle_request.C b/sched/handle_request.C index 9584e76797..15a7146f2a 100644 --- a/sched/handle_request.C +++ b/sched/handle_request.C @@ -643,8 +643,8 @@ void process_request( last_rpc_time = reply.host.rpc_time; reply.host.rpc_time = time(0); - last_rpc_time_tm = localtime(last_rpc_time); - rpm_time_tm = localtime(reply.host.rpc_time); + last_rpc_time_tm = localtime(&((time_t)last_rpc_time)); + rpm_time_tm = localtime(&((time_t)reply.host.rpc_time)); if (last_rpc_time_tm->tm_yday != rpm_time_tm->tm_yday) { reply.host.nresults_today = 0;