diff options
author | Pierre Ossman <ossman@cendio.se> | 2020-05-29 16:47:47 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2020-05-31 10:59:07 +0200 |
commit | 215ca5af7307de9e784165d34106479a2fdf5a51 (patch) | |
tree | c8efd97a5da52742e9883af66d212c239e86ff73 /common | |
parent | bdd54b1d0c29b0ff2f140517a1a084678c24d295 (diff) | |
download | tigervnc-215ca5af7307de9e784165d34106479a2fdf5a51.tar.gz tigervnc-215ca5af7307de9e784165d34106479a2fdf5a51.zip |
Fix JpegCompressor::overrun() type change
The method it overloads got tweaked some time ago, so we need to make
sure this method follows suit.
Diffstat (limited to 'common')
-rw-r--r-- | common/rfb/JpegCompressor.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |