Avoid use of cast as lvalue.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18051 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
alexm 2003-11-05 02:34:10 +00:00
parent c6d4f83053
commit dcb1fc69c0
2 changed files with 7 additions and 1 deletions

View file

@ -914,7 +914,7 @@ static inline int check_modifier (XEvent *xEvent, KeyCode key_code)
XGetInputFocus(xEvent.xfocus.display, &fw, &rev);
NSDebugLLog(@"NSEvent", @"%d FocusOut\n",
xEvent.xfocus.window);
cWin = [XGServer _windowForXWindow: fw];
generic.cachedWindow = [XGServer _windowForXWindow: fw];
if (cWin == 0)
{
cWin = [XGServer _windowForXParent: fw];