• dscho's avatar
    Fix Swap16IfLE() on bytes · c5173f36
    dscho authored
    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: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
    c5173f36
Name
Last commit
Last update
VisualNaCro Loading commit data...
classes Loading commit data...
client_examples Loading commit data...
contrib Loading commit data...
examples Loading commit data...
libvncclient Loading commit data...
libvncserver Loading commit data...
rfb Loading commit data...
test Loading commit data...
vncterm Loading commit data...
x11vnc Loading commit data...
.cvsignore Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LibVNCServer.spec.in Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.cvs Loading commit data...
TODO Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
bdf2c.pl Loading commit data...
configure.ac Loading commit data...
consolefont2c.pl Loading commit data...
cvs_update_anonymously Loading commit data...
index.html Loading commit data...
libvncserver-config.in Loading commit data...
libvncserver.dsp Loading commit data...
libvncserver.dsw Loading commit data...
ltmain.sh Loading commit data...
prepare_x11vnc_dist.sh Loading commit data...
success.html Loading commit data...
tightvnc-1.3dev5-vncviewer-alpha-cursor.patch Loading commit data...