diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-11-03 10:51:15 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-11-03 10:51:15 +0000 |
commit | 336afc18afe57d17afa1114ba14d5bbddc1691a9 (patch) | |
tree | 62d3407bc2f55f04cb5e7eb70bd7f4ffb340658a /src/util/CactusTimers.c | |
parent | d27277e56fb4ea6546e174559aaf58a8deb0ae43 (diff) |
Fixed a silly mistake I just committed. Thanks Ralph.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1131 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util/CactusTimers.c')
-rw-r--r-- | src/util/CactusTimers.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/CactusTimers.c b/src/util/CactusTimers.c index b331df7e..e0cb9eac 100644 --- a/src/util/CactusTimers.c +++ b/src/util/CactusTimers.c @@ -214,7 +214,7 @@ void CCTK_TimerDestroyI(int this_timer) { t_Timer *timer; - if((timer = Util_GetHandledData(timers, this_timer)) > -1) + if((timer = Util_GetHandledData(timers, this_timer))) { CCTKi_TimerDestroy(this_timer, timer); } @@ -285,7 +285,7 @@ void CCTK_TimerStartI(int this_timer) { t_Timer *timer; - if((timer = Util_GetHandledData(timers, this_timer)) > -1) + if((timer = Util_GetHandledData(timers, this_timer))) { CCTKi_TimerStart(this_timer, timer); } @@ -339,7 +339,7 @@ void CCTK_TimerStopI(int this_timer) { t_Timer *timer; - if((timer = Util_GetHandledData(timers, this_timer)) > -1) + if((timer = Util_GetHandledData(timers, this_timer))) { CCTKi_TimerStop(this_timer, timer); } @@ -393,7 +393,7 @@ void CCTK_TimerResetI(int this_timer) { t_Timer *timer; - if((timer = Util_GetHandledData(timers, this_timer)) > -1) + if((timer = Util_GetHandledData(timers, this_timer))) { CCTKi_TimerReset(this_timer, timer); } @@ -450,7 +450,7 @@ void CCTK_TimerGetI(int this_timer, t_TimerInfo *info) { t_Timer *timer; - if((timer = Util_GetHandledData(timers, this_timer)) > -1) + if((timer = Util_GetHandledData(timers, this_timer))) { CCTKi_TimerGet(this_timer, timer, info); } |