objective c - Testing enum gives warning: comparison between pointer and integer -
I'm getting this warning:
Warning: Comparison between pointer and integer <
Which is defined below:
enum menu type type {linksInnalNL = 0, linkEctional = 1, image = 2, movie = 3, map = 4}; Enum Menu Type eMoon Type * Menu;
I think I just need an artist but what is the syntax?
As your menu is an indicator of type ANUm value, you can rewrite your status :
If (* (menuItem.menuType) == LinkExternal)
but why do you need to store this value by the indicator? You can not do now:
menu menu type menu type;
Comments
Post a Comment