aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorokan2014-01-03 15:29:06 +0000
committerokan2014-01-03 15:29:06 +0000
commit7c3d7c7e009aba5952f235258aecebf4a42fcd3a (patch)
tree7970da959e352c005af1dbe5fd3562f4e58088f5 /menu.c
parentfa1e0bfcb82d655544296d192c8df094a7895039 (diff)
downloadcwm-7c3d7c7e009aba5952f235258aecebf4a42fcd3a.tar.gz
use consistent types
Diffstat (limited to '')
-rw-r--r--menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/menu.c b/menu.c
index b13872a..c19bc4b 100644
--- a/menu.c
+++ b/menu.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: menu.c,v 1.71 2014/01/02 22:49:10 okan Exp $
+ * $OpenBSD: menu.c,v 1.72 2014/01/03 15:29:06 okan Exp $
*/
#include <sys/param.h>
@@ -522,8 +522,8 @@ menu_calc_entry(struct menu_ctx *mc, int x, int y)
static int
menu_keycode(XKeyEvent *ev, enum ctltype *ctl, char *chr)
{
- KeySym ks;
- u_int state = ev->state;
+ KeySym ks;
+ unsigned int state = ev->state;
*ctl = CTL_NONE;
chr[0] = '\0';