diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-10 22:21:54 -0700 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:28 +0200 |
commit | d8358c6ef0c05dad211ad273dc669fae94884441 (patch) | |
tree | f5ac8c794c48782b6712b38c61cfd6ea254a40be /nx-X11/lib/X11/lcPublic.c | |
parent | e667b9054308dd2033d3771a0656dd485286e855 (diff) | |
download | nx-libs-d8358c6ef0c05dad211ad273dc669fae94884441.tar.gz nx-libs-d8358c6ef0c05dad211ad273dc669fae94884441.tar.bz2 nx-libs-d8358c6ef0c05dad211ad273dc669fae94884441.zip |
xlibi18n: Fix a bunch of const cast warnings
Add const qualifiers to casts where needed, remove other casts that
are no longer needed.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/lcPublic.c')
-rw-r--r-- | nx-X11/lib/X11/lcPublic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/lcPublic.c b/nx-X11/lib/X11/lcPublic.c index 1b1fb548a..4b26710b2 100644 --- a/nx-X11/lib/X11/lcPublic.c +++ b/nx-X11/lib/X11/lcPublic.c @@ -106,7 +106,8 @@ load_public( XLCd lcd) { XLCdPublicPart *pub = XLC_PUBLIC_PART(lcd); - char **values, *str; + char **values; + const char *str; int num; if(_XlcCreateLocaleDataBase(lcd) == NULL) |