[X2Go-Commits] [nx-libs] 07/08: nx-X11/programs/Xserver/hw/nxagent/Screen.c: make nxagentAdjustRandRXinerama() better debugable by using volatile variables. TO BE REMOVED later.
git-admin at x2go.org
git-admin at x2go.org
Sat May 5 22:06:55 CEST 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x-rpm-debug
in repository nx-libs.
commit 25e5821e8a6b2295f9ffd236430a70dd9d701a9a
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat May 5 22:05:00 2018 +0200
nx-X11/programs/Xserver/hw/nxagent/Screen.c: make nxagentAdjustRandRXinerama() better debugable by using volatile variables. TO BE REMOVED later.
---
nx-X11/programs/Xserver/hw/nxagent/Screen.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index e6752e4..e8ff376 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -7341,7 +7341,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
}
#endif
- size_t new_crtcs_count = 0;
+ volatile size_t new_crtcs_count = 0;
{
nxagentScreenBoxesElem *cur = NULL;
xorg_list_for_each_entry(cur, &(solution->solution_boxes->head), entry) {
@@ -7413,7 +7413,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
* At this stage only NX outputs are left - we delete the superfluous
* ones.
*/
- for (ptrdiff_t i = pScrPriv->numOutputs - 1; i >= new_crtcs_count; --i) {
+ for (volatile ptrdiff_t i = pScrPriv->numOutputs - 1; i >= new_crtcs_count; --i) {
nxagentDropOutput(pScrPriv->outputs[i]);
}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list