summaryrefslogtreecommitdiffstats
path: root/common/rfb/zrleDecode.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/zrleDecode.h')
-rw-r--r--common/rfb/zrleDecode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/zrleDecode.h b/common/rfb/zrleDecode.h
index 42b28b32..25661711 100644
--- a/common/rfb/zrleDecode.h
+++ b/common/rfb/zrleDecode.h
@@ -73,7 +73,7 @@ void ZRLE_DECODE (const Rect& r, rdr::InStream* is,
if (palSize == 1) {
PIXEL_T pix = palette[0];
- pb->fillRect(pf, t, pix);
+ pb->fillRect(pf, t, &pix);
continue;
}