summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xcb_aux.c2
-rw-r--r--src/xcb_aux.h2
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