]> source.dussan.org Git - tigervnc.git/commit
Fix overflow; "Timer: gettimeofday is broken"
authorPierre Ossman <ossman@cendio.se>
Fri, 19 Jul 2024 15:37:04 +0000 (17:37 +0200)
committerSamuel Mannehed <samuel@cendio.se>
Fri, 19 Jul 2024 15:39:06 +0000 (17:39 +0200)
commit422444acf3a519b75709fb14c02118b75ecbc898
tree7a74fa54da3a863cf0baaec2c4a17c04f9c9d2ac
parentc4075860579ad33011fafee32f34c5d3da71a910
Fix overflow; "Timer: gettimeofday is broken"

The rounding misbehaved when the tv_usec calculation overflows.

Fixes issue #1782.
common/rfb/Timer.cxx