updated for version 7.2-177
diff --git a/src/menu.c b/src/menu.c
index 7d4839f..04d50d1 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -231,7 +231,7 @@
if (skipdigits(menu_path + 7) == p)
{
menuarg.iconidx = atoi((char *)menu_path + 7);
- if (menuarg.iconidx >= TOOLBAR_NAME_COUNT)
+ if (menuarg.iconidx >= (int)TOOLBAR_NAME_COUNT)
menuarg.iconidx = -1;
else
menuarg.icon_builtin = TRUE;
@@ -239,7 +239,7 @@
}
else
{
- for (i = 0; i < TOOLBAR_NAME_COUNT; ++i)
+ for (i = 0; i < (int)TOOLBAR_NAME_COUNT; ++i)
if (STRNCMP(toolbar_names[i], menu_path, p - menu_path)
== 0)
{
@@ -1341,10 +1341,9 @@
* Function given to ExpandGeneric() to obtain the list of (sub)menus (not
* entries).
*/
-/*ARGSUSED*/
char_u *
get_menu_name(xp, idx)
- expand_T *xp;
+ expand_T *xp UNUSED;
int idx;
{
static vimmenu_T *menu = NULL;
@@ -1378,10 +1377,9 @@
* Function given to ExpandGeneric() to obtain the list of menus and menu
* entries.
*/
-/*ARGSUSED*/
char_u *
get_menu_names(xp, idx)
- expand_T *xp;
+ expand_T *xp UNUSED;
int idx;
{
static vimmenu_T *menu = NULL;
@@ -1739,10 +1737,9 @@
/*
* Return TRUE if the menu is the tearoff menu.
*/
-/*ARGSUSED*/
static int
menu_is_tearoff(name)
- char_u *name;
+ char_u *name UNUSED;
{
#ifdef FEAT_GUI
return (STRCMP(name, TEAR_STRING) == 0);