(svn r23191) -Fix: GCC 4.7 compilation warnings related to narrowing in palettes

This commit is contained in:
rubidium 2011-11-11 19:47:28 +00:00
parent 624c8a6173
commit 39263445b0

View File

@ -11,7 +11,7 @@
#include "../core/endian_type.hpp"
#define M(r, g, b) { 0xff << 24 | (r) << 16 | (g) << 8 | (b) }
#define M(r, g, b) { 0xFF000000U | (r) << 16 | (g) << 8 | (b) }
/** Colour palette (DOS) */
static const Colour _palette[256] = {