aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/lcGenConv.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-10 22:32:42 -0700
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:28 +0200
commit069c1f4d52243d17fd8c23008e1b4fe1486477f7 (patch)
tree24dcfa46914f065a3ff5e67ede8c7844015a111c /nx-X11/lib/X11/lcGenConv.c
parentd8358c6ef0c05dad211ad273dc669fae94884441 (diff)
downloadnx-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.c2
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;