summaryrefslogtreecommitdiffstats
path: root/zrle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'zrle.cxx')
-rw-r--r--zrle.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/zrle.cxx b/zrle.cxx
index 7839677..4572e98 100644
--- a/zrle.cxx
+++ b/zrle.cxx
@@ -23,7 +23,6 @@
// Routines to implement Zlib Run-length Encoding (ZRLE).
//
-#include <stdio.h>
extern "C" {
#include "rfb.h"
}
@@ -158,7 +157,7 @@ Bool rfbSendRectEncodingZRLE(rfbClientPtr cl, int x, int y, int w, int h)
bytesToCopy = mos.length() - i;
}
- memcpy(cl->updateBuf+cl->ublen, (CARD8*)mos.data() + i, bytesToCopy);
+ memcpy(cl->updateBuf+cl->ublen, (uint8_t*)mos.data() + i, bytesToCopy);
cl->ublen += bytesToCopy;
i += bytesToCopy;