Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
ce76009d
Commit
ce76009d
authored
Dec 07, 2016
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Screen.c: fix compile warnings in DEBUG mode
parent
6882b08d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Screen.c
nx-X11/programs/Xserver/hw/nxagent/Screen.c
+5
-5
No files found.
nx-X11/programs/Xserver/hw/nxagent/Screen.c
View file @
ce76009d
...
@@ -2899,7 +2899,7 @@ int nxagentShadowCreateMainWindow(ScreenPtr pScreen, WindowPtr pWin, int width,
...
@@ -2899,7 +2899,7 @@ int nxagentShadowCreateMainWindow(ScreenPtr pScreen, WindowPtr pWin, int width,
if
(
nxagentShadowGCPtr
)
if
(
nxagentShadowGCPtr
)
{
{
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagentShadowCreateMainWindow: Created GC with pGC[%p]
\n
"
,
nxagentShadowGCPtr
);
fprintf
(
stderr
,
"nxagentShadowCreateMainWindow: Created GC with pGC[%p]
\n
"
,
(
void
*
)
nxagentShadowGCPtr
);
#endif
#endif
ValidateGC
((
DrawablePtr
)
nxagentShadowPixmapPtr
,
nxagentShadowGCPtr
);
ValidateGC
((
DrawablePtr
)
nxagentShadowPixmapPtr
,
nxagentShadowGCPtr
);
}
}
...
@@ -3035,7 +3035,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr
...
@@ -3035,7 +3035,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr
pBox
=
(
BoxRec
*
)
ptBox
;
pBox
=
(
BoxRec
*
)
ptBox
;
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagentShadowPoll: nRects[%ld],
pBox[%p] depth[%d].
\n
"
,
numRects
,
pBox
,
nxagentShadowDepth
);
fprintf
(
stderr
,
"nxagentShadowPoll: nRects[%ld],
pBox[%p] depth[%d].
\n
"
,
numRects
,
(
void
*
)
pBox
,
nxagentShadowDepth
);
#endif
#endif
for
(
n
=
0
;
n
<
numRects
;
n
++
)
for
(
n
=
0
;
n
<
numRects
;
n
++
)
...
@@ -3677,7 +3677,7 @@ int nxagentChangeScreenConfig(int screen, int width, int height, int mmWidth, in
...
@@ -3677,7 +3677,7 @@ int nxagentChangeScreenConfig(int screen, int width, int height, int mmWidth, in
#endif
#endif
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagentChangeScreenConfig: screenInfo.screens[%d]->root
is %p
\n
"
,
screen
,
screenInfo
.
screens
[
screen
]);
fprintf
(
stderr
,
"nxagentChangeScreenConfig: screenInfo.screens[%d]->root
[%p]
\n
"
,
screen
,
(
void
*
)
screenInfo
.
screens
[
screen
]);
#endif
#endif
if
(
screenInfo
.
screens
[
screen
]
->
root
==
NULL
)
if
(
screenInfo
.
screens
[
screen
]
->
root
==
NULL
)
{
{
...
@@ -3709,7 +3709,7 @@ int nxagentChangeScreenConfig(int screen, int width, int height, int mmWidth, in
...
@@ -3709,7 +3709,7 @@ int nxagentChangeScreenConfig(int screen, int width, int height, int mmWidth, in
*/
*/
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagentChangeScreenConfig: Cancel with grabbed server (grab held by
%p).
\n
"
,
nxagentGrabServerInfo
.
client
);
fprintf
(
stderr
,
"nxagentChangeScreenConfig: Cancel with grabbed server (grab held by
[%p]).
\n
"
,
(
void
*
)
nxagentGrabServerInfo
.
client
);
#endif
#endif
return
0
;
return
0
;
...
@@ -4232,7 +4232,7 @@ void nxagentSaveAreas(PixmapPtr pPixmap, RegionPtr prgnSave, int xorg, int yorg,
...
@@ -4232,7 +4232,7 @@ void nxagentSaveAreas(PixmapPtr pPixmap, RegionPtr prgnSave, int xorg, int yorg,
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagentSaveAreas: Added pixmap [%p] with id [%d] on window [%p] to BSPixmapList.
\n
"
,
fprintf
(
stderr
,
"nxagentSaveAreas: Added pixmap [%p] with id [%d] on window [%p] to BSPixmapList.
\n
"
,
pPixmap
,
nxagentPixmap
(
pPixmap
),
pWin
);
(
void
*
)
pPixmap
,
nxagentPixmap
(
pPixmap
),
(
void
*
)
pWin
);
#endif
#endif
XFreeGC
(
nxagentDisplay
,
gc
);
XFreeGC
(
nxagentDisplay
,
gc
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment