From eda935627116dd106b99dbcc95d90a723a2de330 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 16 Nov 2013 23:35:21 -0800 Subject: [PATCH] xkb: Make XkbWriteCountedString take a const char * input parameter Signed-off-by: Keith Packard Reviewed-by: Adam Jackson --- xkb/xkb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xkb/xkb.c b/xkb/xkb.c index c78aceb..27e761c 100644 --- a/xkb/xkb.c +++ b/xkb/xkb.c @@ -4419,7 +4419,7 @@ ProcXkbSetNames(ClientPtr client) * (swapped) 16 bit string length, non-zero terminated. */ static char * -XkbWriteCountedString(char *wire, char *str, Bool swap) +XkbWriteCountedString(char *wire, const char *str, Bool swap) { CARD16 len, *pLen, paddedLen; -- 2.7.4