diff options
author | dscho <dscho> | 2008-01-31 11:52:50 +0000 |
---|---|---|
committer | dscho <dscho> | 2008-01-31 11:52:50 +0000 |
commit | c5173f364f98230bb51fa8c1baf79d171e2c9e72 (patch) | |
tree | 7acf20b300315dac2b1d3276cf8029c4698f427b /libvncserver.dsw | |
parent | 3d9a5639838d18e790586f0acc294fdf7ebadd74 (diff) | |
download | libtdevnc-c5173f364f98230bb51fa8c1baf79d171e2c9e72.tar.gz libtdevnc-c5173f364f98230bb51fa8c1baf79d171e2c9e72.zip |
Fix Swap16IfLE() on bytes
When swapping the values for the colour table to little-endian (because
they are 16-bit values), we need to cast "unsigned char" to "unsigned
short"; otherwise, Microsoft's compiler would keep complaining.
Noticed by Christian Ehrlicher.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'libvncserver.dsw')
0 files changed, 0 insertions, 0 deletions