From 139b96741004adc92032a93b8ef6e5927a618f6d Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 30 Nov 2018 15:59:43 +0100 Subject: [PATCH] Increase range of ComparingUpdateTracker statistics 32 bits are not enough to keep track of all the pixels that might flow through the system. Expand things to 64 bits, which should cover all reasonable uses. --- common/rfb/ComparingUpdateTracker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rfb/ComparingUpdateTracker.h b/common/rfb/ComparingUpdateTracker.h index e62f2b23..ca1dcc30 100644 --- a/common/rfb/ComparingUpdateTracker.h +++ b/common/rfb/ComparingUpdateTracker.h @@ -50,7 +50,7 @@ namespace rfb { bool firstCompare; bool enabled; - rdr::U32 totalPixels, missedPixels; + unsigned long long totalPixels, missedPixels; }; } -- 2.39.5