diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-16 23:35:21 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-01-12 10:14:50 -0800 |
commit | eda935627116dd106b99dbcc95d90a723a2de330 (patch) | |
tree | 8190f4c0956a3784da65a44c0a221192406bd31a /xkb/xkb.c | |
parent | d0339a5c66846c9f14e3b584e34688520a0916ab (diff) |
xkb: Make XkbWriteCountedString take a const char * input parameter
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'xkb/xkb.c')
-rw-r--r-- | xkb/xkb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |