summaryrefslogtreecommitdiffstats
path: root/examples/pnmshow.c
diff options
context:
space:
mode:
authordscho <dscho>2008-01-31 11:52:50 +0000
committerdscho <dscho>2008-01-31 11:52:50 +0000
commitc5173f364f98230bb51fa8c1baf79d171e2c9e72 (patch)
tree7acf20b300315dac2b1d3276cf8029c4698f427b /examples/pnmshow.c
parent3d9a5639838d18e790586f0acc294fdf7ebadd74 (diff)
downloadlibtdevnc-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 <[email protected]>
Diffstat (limited to 'examples/pnmshow.c')
0 files changed, 0 insertions, 0 deletions