diff options
author | Julien Cristau <jcristau@debian.org> | 2009-01-11 08:25:17 +0100 |
---|---|---|
committer | Ulrich Sibiller <u.sibiller@science-computing.de> | 2016-10-20 10:16:35 +0200 |
commit | 4f99f854cd29e980144254678828dcb11c121cd3 (patch) | |
tree | e6e4a63da663ce19175e776d49a1612f673cbb1b | |
parent | e3e4062c35a5a337ca2edfddb0bf68b8b192fefb (diff) | |
download | nx-libs-4f99f854cd29e980144254678828dcb11c121cd3.tar.gz nx-libs-4f99f854cd29e980144254678828dcb11c121cd3.tar.bz2 nx-libs-4f99f854cd29e980144254678828dcb11c121cd3.zip |
dix: fix cast from pointer to integer
-rw-r--r-- | nx-X11/programs/Xserver/dix/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/dix/devices.c b/nx-X11/programs/Xserver/dix/devices.c index 39f5d123f..69cdc82e1 100644 --- a/nx-X11/programs/Xserver/dix/devices.c +++ b/nx-X11/programs/Xserver/dix/devices.c @@ -725,7 +725,7 @@ InitStringFeedbackClassDeviceStruct ( for (i=0; i<num_symbols_supported; i++) *(feedc->ctrl.symbols_supported+i) = *symbols++; for (i=0; i<max_symbols; i++) - *(feedc->ctrl.symbols_displayed+i) = (KeySym) NULL; + *(feedc->ctrl.symbols_displayed+i) = (KeySym) 0; feedc->ctrl.id = 0; if ( (feedc->next = dev->stringfeed) ) feedc->ctrl.id = dev->stringfeed->ctrl.id + 1; |