From efc3cc4c1508b5be50e31c10f052968a1011569d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 15 Apr 2009 14:05:45 +0200 Subject: [PATCH] xutil: fix proto Signed-off-by: Julien Danjou --- common/xutil.c | 2 +- common/xutil.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/xutil.c b/common/xutil.c index bda02371..a280f333 100644 --- a/common/xutil.c +++ b/common/xutil.c @@ -140,7 +140,7 @@ typedef struct * \param button Mouse button index. * \return Mouse button or 0 if not found. */ -unsigned int +uint8_t xutil_button_fromint(int button) { /** List of button name and corresponding X11 mask codes */ diff --git a/common/xutil.h b/common/xutil.h index 2755bd48..2c6312bd 100644 --- a/common/xutil.h +++ b/common/xutil.h @@ -39,7 +39,7 @@ void xutil_error_handler_catch_all_set(xcb_event_handlers_t *, xcb_generic_error_handler_t, void *); uint16_t xutil_key_mask_fromstr(const char *, size_t); -unsigned int xutil_button_fromint(int); +uint8_t xutil_button_fromint(int); /* Get the informations about the screen. * \param c X connection.