fix a warning
invent.c .\invent.c(3668): warning C5287: operands are different enum types 'inv_modes' and 'inv_mode_bits'; use an explicit cast to silence this warning .\invent.c(3669): warning C5287: operands are different enum types 'inv_modes' and 'inv_mode_bits'; use an explicit cast to silence this warning
This commit is contained in:
+2
-2
@@ -3665,8 +3665,8 @@ display_pickinv(
|
|||||||
win = WIN_INVEN;
|
win = WIN_INVEN;
|
||||||
menu_behavior = MENU_BEHAVE_PERMINV;
|
menu_behavior = MENU_BEHAVE_PERMINV;
|
||||||
prepare_perminvent(win);
|
prepare_perminvent(win);
|
||||||
show_gold = ((wri_info.fromcore.invmode & InvShowGold) != 0);
|
show_gold = ((wri_info.fromcore.invmode & (enum inv_modes) InvShowGold) != 0);
|
||||||
inuse_only = ((wri_info.fromcore.invmode & InvInUse) != 0);
|
inuse_only = ((wri_info.fromcore.invmode & (enum inv_modes) InvInUse) != 0);
|
||||||
doing_perm_invent = TRUE;
|
doing_perm_invent = TRUE;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user