[PATCH 37/37] xkb: Make XkbWriteCountedString take a const char * input parameter

Keith Packard keithp at keithp.com
Sun Nov 17 00:02:02 PST 2013


Signed-off-by: Keith Packard <keithp at keithp.com>
---
 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;
 
-- 
1.8.4.2



More information about the xorg-devel mailing list