diff options
Diffstat (limited to 'libvncserver')
-rw-r--r-- | libvncserver/cursor.c | 2 | ||||
-rw-r--r-- | libvncserver/tightvnc-filetransfer/rfbtightserver.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/cursor.c b/libvncserver/cursor.c index 154bf11..5e30017 100644 --- a/libvncserver/cursor.c +++ b/libvncserver/cursor.c @@ -410,7 +410,7 @@ void rfbMakeXCursorFromRichCursor(rfbScreenInfoPtr rfbScreen,rfbCursorPtr cursor for(i=0,bit=0x80;i<cursor->width;i++,bit=(bit&1)?0x80:bit>>1) { if (interp) { int r = 0, g = 0, b = 0, grey; - char *p = cursor->richSource+j*width+i*bpp; + unsigned char *p = cursor->richSource+j*width+i*bpp; if (bpp == 1) { unsigned char* uc = (unsigned char*) p; SETRGB(uc); diff --git a/libvncserver/tightvnc-filetransfer/rfbtightserver.c b/libvncserver/tightvnc-filetransfer/rfbtightserver.c index ef29514..43f5a9b 100644 --- a/libvncserver/tightvnc-filetransfer/rfbtightserver.c +++ b/libvncserver/tightvnc-filetransfer/rfbtightserver.c @@ -355,7 +355,7 @@ rfbSendInteractionCaps(rfbClientPtr cl) rfbBool -rfbTightExtensionInit(rfbClientPtr cl, void** data) +rfbTightExtensionInit(rfbClientPtr cl, void* data) { rfbSendInteractionCaps(cl); |