diff options
author | Pierre Ossman <ossman@cendio.se> | 2012-01-30 13:53:11 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2012-01-30 13:53:11 +0000 |
commit | 654e3f906c7e1467f4ec7af06382aa1f4662964a (patch) | |
tree | 0f76a186421062b4357fb224ade06832897a8ee5 /common/rfb/JpegCompressor.cxx | |
parent | 559a2e8f471edb9142eea892acc101d6fc58f0d6 (diff) | |
download | tigervnc-654e3f906c7e1467f4ec7af06382aa1f4662964a.tar.gz tigervnc-654e3f906c7e1467f4ec7af06382aa1f4662964a.zip |
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
Diffstat (limited to 'common/rfb/JpegCompressor.cxx')
-rw-r--r-- | common/rfb/JpegCompressor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |