Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e5efc5a6
Commit
e5efc5a6
authored
Aug 16, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc 4.0 warning fixes.
parent
6fb12fc2
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
+8
-7
event.c
dlls/x11drv/event.c
+4
-3
keyboard.c
dlls/x11drv/keyboard.c
+1
-1
mouse.c
dlls/x11drv/mouse.c
+1
-1
opengl.c
dlls/x11drv/opengl.c
+1
-1
xrender.c
dlls/x11drv/xrender.c
+1
-1
No files found.
dlls/x11drv/event.c
View file @
e5efc5a6
...
...
@@ -778,6 +778,7 @@ static void EVENT_DropURLs( HWND hWnd, XClientMessageEvent *event )
Atom
atom_aux
;
int
i
;
Window
w_aux
;
unsigned
int
u
;
}
u
;
/* unused */
if
(
!
(
GetWindowLongW
(
hWnd
,
GWL_EXSTYLE
)
&
WS_EX_ACCEPTFILES
))
return
;
...
...
@@ -794,7 +795,7 @@ static void EVENT_DropURLs( HWND hWnd, XClientMessageEvent *event )
if
(
!
aux_long
&&
p_data
)
{
/* don't bother if > 64K */
/* calculate length */
p
=
p_data
;
p
=
(
char
*
)
p_data
;
next
=
strchr
(
p
,
'\n'
);
while
(
p
)
{
if
(
next
)
*
next
=
0
;
...
...
@@ -814,7 +815,7 @@ static void EVENT_DropURLs( HWND hWnd, XClientMessageEvent *event )
if
(
drop_len
&&
drop_len
<
65535
)
{
wine_tsx11_lock
();
XQueryPointer
(
event
->
display
,
root_window
,
&
u
.
w_aux
,
&
u
.
w_aux
,
&
x
,
&
y
,
&
u
.
i
,
&
u
.
i
,
&
u
.
i
);
&
x
,
&
y
,
&
u
.
i
,
&
u
.
i
,
&
u
.
u
);
wine_tsx11_unlock
();
drop_len
+=
sizeof
(
DROPFILES
)
+
1
;
...
...
@@ -838,7 +839,7 @@ static void EVENT_DropURLs( HWND hWnd, XClientMessageEvent *event )
/* create message content */
if
(
p_drop
)
{
p
=
p_data
;
p
=
(
char
*
)
p_data
;
next
=
strchr
(
p
,
'\n'
);
while
(
p
)
{
if
(
next
)
*
next
=
0
;
...
...
dlls/x11drv/keyboard.c
View file @
e5efc5a6
...
...
@@ -2376,7 +2376,7 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
if
(
ret
==
0
)
{
BYTE
dead_char
;
char
dead_char
;
#ifdef XK_EuroSign
/* An ugly hack for EuroSign: X can't translate it to a character
...
...
dlls/x11drv/mouse.c
View file @
e5efc5a6
...
...
@@ -453,7 +453,7 @@ static Cursor create_cursor( Display *display, CURSORICONINFO *ptr )
return
0
;
}
/* The location of the mask. */
theMask
=
(
char
*
)(
ptr
+
1
);
theMask
=
(
unsigned
char
*
)(
ptr
+
1
);
/* The mask should still be 1 bit per pixel. The color image
* should immediately follow the mask.
*/
...
...
dlls/x11drv/opengl.c
View file @
e5efc5a6
...
...
@@ -100,7 +100,7 @@ static void dump_PIXELFORMATDESCRIPTOR(const PIXELFORMATDESCRIPTOR *ppfd) {
switch
(
ppfd
->
iLayerType
)
{
case
PFD_MAIN_PLANE
:
DPRINTF
(
"PFD_MAIN_PLANE"
);
break
;
case
PFD_OVERLAY_PLANE
:
DPRINTF
(
"PFD_OVERLAY_PLANE"
);
break
;
case
PFD_UNDERLAY_PLANE
:
DPRINTF
(
"PFD_UNDERLAY_PLANE"
);
break
;
case
(
BYTE
)
PFD_UNDERLAY_PLANE
:
DPRINTF
(
"PFD_UNDERLAY_PLANE"
);
break
;
}
DPRINTF
(
"
\n
"
);
}
...
...
dlls/x11drv/xrender.c
View file @
e5efc5a6
...
...
@@ -1698,7 +1698,7 @@ BOOL X11DRV_AlphaBlend(X11DRV_PDEVICE *devDst, INT xDst, INT yDst, INT widthDst,
wine_tsx11_lock
();
image
=
XCreateImage
(
gdi_display
,
visual
,
32
,
ZPixmap
,
0
,
data
,
widthSrc
,
heightSrc
,
32
,
widthSrc
*
4
);
(
char
*
)
data
,
widthSrc
,
heightSrc
,
32
,
widthSrc
*
4
);
src_format
=
pXRenderFindStandardFormat
(
gdi_display
,
PictStandardARGB32
);
...
...
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