summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kile/kilejscript.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kile/kilejscript.cpp b/src/kile/kilejscript.cpp
index 2e69338..6008168 100644
--- a/src/kile/kilejscript.cpp
+++ b/src/kile/kilejscript.cpp
@@ -67,8 +67,8 @@ void KJSCPUGuard::start(unsigned int ms, unsigned int i_ms)
{
oldAlarmHandler = signal(SIGVTALRM, alarmHandler);
itimerval tv = {
- { 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 ) }
+ { 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);
}