From 694a330a2445808869f4c0b7cc62a89544e6afb7 Mon Sep 17 00:00:00 2001 From: cohrs Date: Sun, 22 Mar 2009 17:02:28 +0000 Subject: [PATCH] role.c compilation bit (trunk only) gcc warnings noticed a mismatch in a format string --- src/role.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/role.c b/src/role.c index 021e23a36..7a430e9d5 100644 --- a/src/role.c +++ b/src/role.c @@ -1573,7 +1573,7 @@ winid where; add_menu(where, NO_GLYPH, &any, 'q', 0, ATR_NONE, "Quit", MENU_UNSELECTED); } else { - impossible("role_menu_extra: bad arg (%s)", which); + impossible("role_menu_extra: bad arg (%d)", which); } }