diff options
author | Michele Calgaro <[email protected]> | 2022-11-28 10:46:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-11-28 10:46:35 +0900 |
commit | cc4de7a3cc20aab13430bad461a4e1e35cca794d (patch) | |
tree | 2b6c4f285c3280981d190960449a23f67a539690 /tdehtml | |
parent | 856ba6b472dbfd1626448345dbd22996203da06a (diff) | |
download | tdelibs-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.cpp | 4 |
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); } |