diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-29 20:25:15 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-29 20:25:15 -0200 |
commit | 1bd2966ed88f83479a066c6ca7da23a515979550 (patch) | |
tree | dd0eeac242dcd80f1e4c9beebcdbb3f8067e9a30 | |
parent | f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0 (diff) |
patches to avoid gcc warnings for libX11 (#4)
Author is Peter Breitenlohner <peb@mppmu.mpg.de>
Bug #17946, attachment #19443
This patch avoids the gcc warning
../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type
(same as already done at other places)
BTW: what is the difference between XIM (the type of ic->core.im)
and Xim ?
-rw-r--r-- | modules/im/ximcp/imDefLkup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/im/ximcp/imDefLkup.c b/modules/im/ximcp/imDefLkup.c index 33c431a1..887f00bd 100644 --- a/modules/im/ximcp/imDefLkup.c +++ b/modules/im/ximcp/imDefLkup.c @@ -220,7 +220,7 @@ _XimRespSyncReply( if (IS_FOCUSED(ic)) MARK_NEED_SYNC_REPLY(ic); else - _XimProcSyncReply(ic->core.im, ic); + _XimProcSyncReply((Xim)ic->core.im, ic); } return True; |