Fix: comparison of narrow type to wide type in loop (potential for infinite loops)
This commit is contained in:
@@ -24,7 +24,7 @@ enum TextEffectMode {
|
||||
INVALID_TE_ID = 0xFFFF,
|
||||
};
|
||||
|
||||
typedef uint16 TextEffectID;
|
||||
typedef size_t TextEffectID;
|
||||
|
||||
void MoveAllTextEffects(uint delta_ms);
|
||||
TextEffectID AddTextEffect(StringID msg, int x, int y, uint8 duration, TextEffectMode mode);
|
||||
|
Reference in New Issue
Block a user