diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-10-30 19:45:53 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-11-15 12:17:20 +0100 |
commit | 9e5d72c0e936cd941e8415249479651dcce4f3ac (patch) | |
tree | 874488b99a0cf13bbe566dbab207b58883c8fa36 /nx-X11/programs | |
parent | 63f6c1e70668359d53504e2df5a477f2aaf3f9d8 (diff) | |
download | nx-libs-9e5d72c0e936cd941e8415249479651dcce4f3ac.tar.gz nx-libs-9e5d72c0e936cd941e8415249479651dcce4f3ac.tar.bz2 nx-libs-9e5d72c0e936cd941e8415249479651dcce4f3ac.zip |
Rootless.c: silence compiler warning about wrong parmeter sizes
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Rootless.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c index 8a667f35d..56f1f72fa 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c @@ -229,9 +229,9 @@ void nxagentCirculateRootlessWindows(int direction) Bool nxagentRootlessTreesMatch(void) { - Window root_return; - Window parent_return; - Window *children_return = NULL; + XlibWindow root_return; + XlibWindow parent_return; + XlibWindow *children_return = NULL; unsigned int nChildrenReturn; WindowPtr pTestWin = screenInfo.screens[0]->root -> firstChild; Bool treesMatch = True; @@ -244,14 +244,12 @@ Bool nxagentRootlessTreesMatch(void) #ifdef WARNING fprintf(stderr, "%s: WARNING! Failed QueryTree request.\n", __func__); #endif - return False; } while (nChildrenReturn > 0) { WindowPtr pW = nxagentWindowPtr(children_return[--nChildrenReturn]); - if (!pW) { pW = nxagentRootlessTopLevelWindow(children_return[nChildrenReturn]); |