mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-08 23:34:15 +00:00
(svn r23191) -Fix: GCC 4.7 compilation warnings related to narrowing in palettes
This commit is contained in:
parent
624c8a6173
commit
39263445b0
@ -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] = {
|
||||
|
Loading…
Reference in New Issue
Block a user