summaryrefslogtreecommitdiffstats
path: root/tdehtml
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-11-28 10:46:35 +0900
committerMichele Calgaro <[email protected]>2022-11-28 10:46:35 +0900
commitcc4de7a3cc20aab13430bad461a4e1e35cca794d (patch)
tree2b6c4f285c3280981d190960449a23f67a539690 /tdehtml
parent856ba6b472dbfd1626448345dbd22996203da06a (diff)
downloadtdelibs-cc4de7a3cc20aab13430bad461a4e1e35cca794d.tar.gz
tdelibs-cc4de7a3cc20aab13430bad461a4e1e35cca794d.zip
Improve code of commit 856ba6b4
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdehtml')
-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 30e986870..204fb46e2 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 = {
- { 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);
}