Fix a compiler warning

pull/3/head
Christian Beier 7 years ago
parent 0d5d16b4a7
commit ec6d0f7259
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8

@ -145,7 +145,7 @@ static void FillRectangle(rfbClient* client, int x, int y, int w, int h, uint32_
}
}
static void CopyRectangle(rfbClient* client, uint8_t* buffer, int x, int y, int w, int h) {
static void CopyRectangle(rfbClient* client, const uint8_t* buffer, int x, int y, int w, int h) {
int j;
if (client->frameBuffer == NULL) {

Loading…
Cancel
Save