aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/IntAtom.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-10 22:18:00 -0700
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:28 +0200
commite667b9054308dd2033d3771a0656dd485286e855 (patch)
tree17e7e8c708f79d5283a429a0ca50e544e7f5c013 /nx-X11/lib/X11/IntAtom.c
parentd2671c285e1923acae674ef9390a3f8bf23c11b3 (diff)
downloadnx-libs-e667b9054308dd2033d3771a0656dd485286e855.tar.gz
nx-libs-e667b9054308dd2033d3771a0656dd485286e855.tar.bz2
nx-libs-e667b9054308dd2033d3771a0656dd485286e855.zip
Fix const handling in XSetLocaleModifiers
Instead of reusing the input parameter to store the output, make a result variable instead, so that there's less const confusion. Fixes gcc warnings: lcWrap.c: In function 'XSetLocaleModifiers': lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] lcWrap.c:93:12: 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/IntAtom.c')
0 files changed, 0 insertions, 0 deletions