summaryrefslogtreecommitdiffstats
path: root/rfb/rfbclient.h
diff options
context:
space:
mode:
authorTobias Junghans <tobydox@veyon.io>2018-11-05 15:15:57 +0100
committerTobias Junghans <tobydox@veyon.io>2018-11-05 15:15:57 +0100
commitc422847e2c5f32ed9531c461650c7f627516d951 (patch)
tree7ecf5618ac7f46f5e0d703ddd2e634c261ddafa9 /rfb/rfbclient.h
parentca2a5ac02fbbadd0a21fabba779c1ea69173d10b (diff)
downloadlibtdevnc-c422847e2c5f32ed9531c461650c7f627516d951.tar.gz
libtdevnc-c422847e2c5f32ed9531c461650c7f627516d951.zip
LibVNCClient: fix integer shifts for cursor colors
Shifting values > 32768 by 16 places can cause undefined results for signed integers. Therefore cast color components to unsigned integer before shifting.
Diffstat (limited to 'rfb/rfbclient.h')
0 files changed, 0 insertions, 0 deletions