Fix JpegCompressor::overrun() type change

The method it overloads got tweaked some time ago, so we need to make
sure this method follows suit.
This commit is contained in:
Pierre Ossman 2020-05-29 16:47:47 +02:00 committed by Lauri Kasanen
parent e5b02f996e
commit 47bba8a1e6

View File

@ -49,7 +49,7 @@ namespace rfb {
inline rdr::U8* getstart() { return start; } 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); return MemOutStream::overrun(itemSize, nItems);
} }