summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdehtml/ecma/kjs_proxy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdehtml/ecma/kjs_proxy.cpp b/tdehtml/ecma/kjs_proxy.cpp
index 92185d7f4..30e986870 100644
--- a/tdehtml/ecma/kjs_proxy.cpp
+++ b/tdehtml/ecma/kjs_proxy.cpp
@@ -387,8 +387,8 @@ void KJSCPUGuard::start(unsigned int ms, unsigned int i_ms)
oldAlarmHandler = signal(SIGVTALRM, alarmHandler);
itimerval tv = {
- { i_ms / 1000, (i_ms % 1000) * 1000 },
- { ms / 1000, (ms % 1000) * 1000 }
+ { static_cast<__time_t>( i_ms / 1000 ), static_cast<__suseconds_t>( (i_ms % 1000) * 1000 ) },
+ { static_cast<__time_t>( ms / 1000 ), static_cast<__suseconds_t>( (ms % 1000) * 1000 ) }
};
setitimer(ITIMER_VIRTUAL, &tv, &oldtv);
}