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>pull/1/head
parent
3d9a563983
commit
c5173f364f
Loading…
Reference in New Issue