Merging from old trunk:

r652602 | lunakl | 2007-04-11 16:42:13 +0200 (Wed, 11 Apr 2007) | 4 lines

Fix timestamp handling on 64bit platforms.
BUG: 143545


svn path=/trunk/KDE/kdebase/workspace/; revision=659578
This commit is contained in:
Luboš Luňák 2007-04-30 12:38:30 +00:00
parent b08128530c
commit 769bf2bded

View file

@ -980,7 +980,8 @@ void Client::pingWindow()
void Client::gotPing( Time timestamp )
{
if( timestamp != ping_timestamp )
// just plain compare is not good enough because of 64bit and truncating and whatnot
if( NET::timestampCompare( timestamp, ping_timestamp ) != 0 )
return;
delete ping_timer;
ping_timer = NULL;