summaryrefslogtreecommitdiffstats
path: root/contrib/x11vnc.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/x11vnc.c')
-rw-r--r--contrib/x11vnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/x11vnc.c b/contrib/x11vnc.c
index ed7689f..e7c6fd2 100644
--- a/contrib/x11vnc.c
+++ b/contrib/x11vnc.c
@@ -461,7 +461,7 @@ void initialize_screen(int *argc, char **argv, XImage *fb) {
screen->paddedWidthInBytes = fb->bytes_per_line;
screen->rfbServerFormat.bitsPerPixel = fb->bits_per_pixel;
screen->rfbServerFormat.depth = fb->depth;
- screen->rfbServerFormat.trueColour = (CARD8) TRUE;
+ screen->rfbServerFormat.trueColour = (uint8_t) TRUE;
if ( screen->rfbServerFormat.bitsPerPixel == 8 ) {
/* 8 bpp */