From 215ca5af7307de9e784165d34106479a2fdf5a51 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 29 May 2020 16:47:47 +0200 Subject: [PATCH] Fix JpegCompressor::overrun() type change The method it overloads got tweaked some time ago, so we need to make sure this method follows suit. --- common/rfb/JpegCompressor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rfb/JpegCompressor.h b/common/rfb/JpegCompressor.h index 8fbb7a9e..9c6332bd 100644 --- a/common/rfb/JpegCompressor.h +++ b/common/rfb/JpegCompressor.h @@ -49,7 +49,7 @@ namespace rfb { inline rdr::U8* getstart() { return start; } - inline int overrun(int itemSize, int nItems) { + virtual inline size_t overrun(size_t itemSize, size_t nItems) { return MemOutStream::overrun(itemSize, nItems); } -- 2.39.5