diff options
-rw-r--r-- | src/xcb_aux.c | 2 | ||||
-rw-r--r-- | src/xcb_aux.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xcb_aux.c b/src/xcb_aux.c index c810398..4efb5cb 100644 --- a/src/xcb_aux.c +++ b/src/xcb_aux.c @@ -302,7 +302,7 @@ xcb_aux_change_keyboard_control (xcb_connection_t *c, in which case load the components. Otherwise, a lookup_color request will be needed, so return false. */ int -xcb_aux_parse_color(char *color_name, +xcb_aux_parse_color(const char *color_name, uint16_t *red, uint16_t *green, uint16_t *blue) { int n, r, g, b, i; diff --git a/src/xcb_aux.h b/src/xcb_aux.h index d49d438..da4fb85 100644 --- a/src/xcb_aux.h +++ b/src/xcb_aux.h @@ -191,7 +191,7 @@ xcb_aux_change_keyboard_control (xcb_connection_t *c, const xcb_params_keyboard_t *params); int -xcb_aux_parse_color(char *color_name, +xcb_aux_parse_color(const char *color_name, uint16_t *red, uint16_t *green, uint16_t *blue); xcb_void_cookie_t |