summaryrefslogtreecommitdiff
path: root/src/main/DefaultTimers.c
diff options
context:
space:
mode:
authorswhite <swhite@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-03-08 07:40:17 +0000
committerswhite <swhite@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-03-08 07:40:17 +0000
commit5f94cae865ed98a36e31b05677dbf3f32c5a2608 (patch)
tree1a25d36b95adf161db7af01e77b3624a4028face /src/main/DefaultTimers.c
parent39eec0470c9c43316efac006749466976d9da1aa (diff)
Completed the previous fix -- I had missed another occurrance of the
types in question. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4267 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/DefaultTimers.c')
-rw-r--r--src/main/DefaultTimers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/DefaultTimers.c b/src/main/DefaultTimers.c
index 954743a2..66d8730f 100644
--- a/src/main/DefaultTimers.c
+++ b/src/main/DefaultTimers.c
@@ -648,9 +648,9 @@ static void CCTKi_TimerGetrUsageSet(int timernum, void *idata, cTimerVal *vals)
(void) (timernum + 0);
data = (t_GetrUsageTimer *) idata;
- data->total.tv_sec = (time_t)vals[0].val.d;
- data->total.tv_usec = (suseconds_t)(1000000*vals[0].val.d)
- - (suseconds_t)data->total.tv_sec;
+ data->total.tv_sec = (long)vals[0].val.d;
+ data->total.tv_usec = (long)(1000000*vals[0].val.d)
+ - (long)data->total.tv_sec;
}