Remove warnings warned by Clang
This commit is contained in:
parent
6d0679cbd9
commit
d84c85d40f
14 changed files with 37 additions and 34 deletions
|
|
@ -56,13 +56,13 @@ extern TArray<FSpecialColormap> SpecialColormaps;
|
|||
// some utility functions to store special colormaps in powerup blends
|
||||
#define SPECIALCOLORMAP_MASK 0x00b60000
|
||||
|
||||
inline int MakeSpecialColormap(int index)
|
||||
inline uint32 MakeSpecialColormap(int index)
|
||||
{
|
||||
assert(index >= 0 && index < 65536);
|
||||
return index | SPECIALCOLORMAP_MASK;
|
||||
}
|
||||
|
||||
inline bool IsSpecialColormap(int map)
|
||||
inline bool IsSpecialColormap(uint32 map)
|
||||
{
|
||||
return (map & 0xFFFF0000) == SPECIALCOLORMAP_MASK;
|
||||
}
|
||||
|
|
@ -86,4 +86,4 @@ extern bool NormalLightHasFixedLights;
|
|||
FDynamicColormap *GetSpecialLights (PalEntry lightcolor, PalEntry fadecolor, int desaturate);
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue