diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-10 22:32:42 -0700 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:28 +0200 |
commit | 069c1f4d52243d17fd8c23008e1b4fe1486477f7 (patch) | |
tree | 24dcfa46914f065a3ff5e67ede8c7844015a111c /nx-X11/lib/X11/lcGenConv.c | |
parent | d8358c6ef0c05dad211ad273dc669fae94884441 (diff) | |
download | nx-libs-069c1f4d52243d17fd8c23008e1b4fe1486477f7.tar.gz nx-libs-069c1f4d52243d17fd8c23008e1b4fe1486477f7.tar.bz2 nx-libs-069c1f4d52243d17fd8c23008e1b4fe1486477f7.zip |
i18n modules: Fix some const cast warnings
imRm.c: In function '_XimSetICMode':
imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
lcGenConv.c: In function 'byteM_parse_codeset':
lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
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/lcGenConv.c')
-rw-r--r-- | nx-X11/lib/X11/lcGenConv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/lcGenConv.c b/nx-X11/lib/X11/lcGenConv.c index 1041dc709..96904afa3 100644 --- a/nx-X11/lib/X11/lcGenConv.c +++ b/nx-X11/lib/X11/lcGenConv.c @@ -342,7 +342,7 @@ byteM_parse_codeset( continue; for (j = 0; j < codeset->length; j++) { - ch = *((unsigned char *)(inbufptr + j)); + ch = *((const unsigned char *)(inbufptr + j)); byteM_rec = byteM[j]; byteinfo = byteM_rec.byteinfo; |