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
You need to sign in or sign up before continuing.
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,
if
(
nxagentShadowGCPtr
)
{
#ifdef TEST
fprintf
(
stderr
,
"nxagentShadowCreateMainWindow: Created GC with pGC[%p]
\n
"
,
nxagentShadowGCPtr
);
fprintf
(
stderr
,
"nxagentShadowCreateMainWindow: Created GC with pGC[%p]
\n
"
,
(
void
*
)
nxagentShadowGCPtr
);
#endif
ValidateGC
((
DrawablePtr
)
nxagentShadowPixmapPtr
,
nxagentShadowGCPtr
);
}
...
...
@@ -3035,7 +3035,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr
pBox
=
(
BoxRec
*
)
ptBox
;
#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
for
(
n
=
0
;
n
<
numRects
;
n
++
)
...
...
@@ -3677,7 +3677,7 @@ int nxagentChangeScreenConfig(int screen, int width, int height, int mmWidth, in
#endif
#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
if
(
screenInfo
.
screens
[
screen
]
->
root
==
NULL
)
{
...
...
@@ -3709,7 +3709,7 @@ int nxagentChangeScreenConfig(int screen, int width, int height, int mmWidth, in
*/
#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
return
0
;
...
...
@@ -4232,7 +4232,7 @@ void nxagentSaveAreas(PixmapPtr pPixmap, RegionPtr prgnSave, int xorg, int yorg,
#ifdef TEST
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
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