aboutsummaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-06-17 10:47:28 +0200
committerPierre Ossman <ossman@cendio.se>2015-06-17 10:47:28 +0200
commita9af1f12466e201fed5a72bbba2607fb55f7e042 (patch)
treed43ec72d10ef65cb365fa9e2fc0b16f60c25f7ce /unix
parentb64dbf29aeaaa41eed47ea48e3ccfa9ae563c6f2 (diff)
downloadtigervnc-a9af1f12466e201fed5a72bbba2607fb55f7e042.tar.gz
tigervnc-a9af1f12466e201fed5a72bbba2607fb55f7e042.zip
Fix some bad signed/unsigned mismatches
Diffstat (limited to 'unix')
-rw-r--r--unix/tx/TXWindow.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tx/TXWindow.cxx b/unix/tx/TXWindow.cxx
index 1f69702a..a6819179 100644
--- a/unix/tx/TXWindow.cxx
+++ b/unix/tx/TXWindow.cxx
@@ -89,11 +89,11 @@ void TXWindow::init(Display* dpy, const char* defaultWindowClass_)
XSetFont(dpy, defaultGC, defaultFont);
XSelectInput(dpy, DefaultRootWindow(dpy), PropertyChangeMask);
- static char dotBits[] = { 0x06, 0x0f, 0x0f, 0x06};
- dot = XCreateBitmapFromData(dpy, DefaultRootWindow(dpy), dotBits,
+ static unsigned char dotBits[] = { 0x06, 0x0f, 0x0f, 0x06};
+ dot = XCreateBitmapFromData(dpy, DefaultRootWindow(dpy), (char*)dotBits,
dotSize, dotSize);
- static char tickBits[] = { 0x80, 0xc0, 0xe2, 0x76, 0x3e, 0x1c, 0x08, 0x00};
- tick = XCreateBitmapFromData(dpy, DefaultRootWindow(dpy), tickBits,
+ static unsigned char tickBits[] = { 0x80, 0xc0, 0xe2, 0x76, 0x3e, 0x1c, 0x08, 0x00};
+ tick = XCreateBitmapFromData(dpy, DefaultRootWindow(dpy), (char*)tickBits,
tickSize, tickSize);
defaultWindowClass = rfb::strDup(defaultWindowClass_);
}