From 654e3f906c7e1467f4ec7af06382aa1f4662964a Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 30 Jan 2012 13:53:11 +0000 Subject: Be more liberal with const in places where write access isn't needed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4840 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/rfb/JpegCompressor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/rfb/JpegCompressor.cxx') diff --git a/common/rfb/JpegCompressor.cxx b/common/rfb/JpegCompressor.cxx index f4b6ed1c..b3c5f7c4 100644 --- a/common/rfb/JpegCompressor.cxx +++ b/common/rfb/JpegCompressor.cxx @@ -141,7 +141,7 @@ JpegCompressor::~JpegCompressor(void) delete cinfo; } -void JpegCompressor::compress(rdr::U8 *buf, int pitch, const Rect& r, +void JpegCompressor::compress(const rdr::U8 *buf, int pitch, const Rect& r, const PixelFormat& pf, int quality, JPEG_SUBSAMP subsamp) { int w = r.width(); -- cgit v1.2.3