get rid of a couple of warnings if -Wassign-enum is used
symbols.c:429:7: warning: integer constant not in range of enumerated type 'enum symparse_range' [-Wassign-enum]
429 | { 0, 0, (const char *) 0 } /* fence post */
| ^
windows.c:1765:32: warning: integer constant not in range of enumerated type 'enum from_core_requests' [-Wassign-enum]
1765 | { 0, 0, { NO_COLOR, ATR_NONE }}};
| ^
This commit is contained in:
@@ -426,7 +426,7 @@ const struct symparse loadsyms[] = {
|
||||
{ SYM_OTH, SYM_INVISIBLE + SYM_OFF_X, "S_invisible" },
|
||||
{ SYM_OTH, SYM_PET_OVERRIDE + SYM_OFF_X, "S_pet_override" },
|
||||
{ SYM_OTH, SYM_HERO_OVERRIDE + SYM_OFF_X, "S_hero_override" },
|
||||
{ 0, 0, (const char *) 0 } /* fence post */
|
||||
{ SYM_INVALID, 0, (const char *) 0 } /* fence post */
|
||||
};
|
||||
|
||||
boolean
|
||||
|
||||
Reference in New Issue
Block a user