Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
45edb2fc
Commit
45edb2fc
authored
Feb 12, 2001
by
James Abbatiello
Committed by
Alexandre Julliard
Feb 12, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few compiler warnings.
parent
841ef6eb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
linuxinput.c
dlls/dinput/joystick/linuxinput.c
+1
-1
callback.h
include/callback.h
+1
-1
winproc.c
windows/winproc.c
+1
-1
No files found.
dlls/dinput/joystick/linuxinput.c
View file @
45edb2fc
...
...
@@ -831,7 +831,7 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(LPDIRECTINPUTDEVICE2A iface,
}
case
(
DWORD
)
DIPROP_RANGE
:
{
LPDIPROPRANGE
pr
=
(
LPDIPROPRANGE
)
pdiph
;
/* LPDIPROPRANGE pr = (LPDIPROPRANGE) pdiph; */
if
((
pdiph
->
dwHow
==
DIPH_BYID
)
&&
(
pdiph
->
dwObj
&
DIDFT_ABSAXIS
))
{
/* The app is querying the current range of the axis : return the lMin and lMax values */
...
...
include/callback.h
View file @
45edb2fc
...
...
@@ -84,7 +84,7 @@ typedef struct tagTHUNK
THUNK aname; \
aname.popl_eax = 0x58; \
aname.pushl_func = 0x68; \
aname.proc = (FARPROC) (aproc); \
aname.proc = (FARPROC
16
) (aproc); \
aname.pushl_eax = 0x50; \
aname.jmp = 0xe9; \
aname.relay = (RELAY)((char *)(arelay) - (char *)(&(aname).next)); \
...
...
windows/winproc.c
View file @
45edb2fc
...
...
@@ -326,7 +326,7 @@ static WINDOWPROC *WINPROC_AllocWinProc( WNDPROC16 func, WINDOWPROCTYPE type,
case
WIN_PROC_32W
:
proc
->
thunk
.
t_from16
.
pushw_bp
=
0x5566
;
/* pushw %bp */
proc
->
thunk
.
t_from16
.
pushl_func
=
0x68
;
/* pushl $proc */
proc
->
thunk
.
t_from16
.
proc
=
(
FAR
PROC
)
func
;
proc
->
thunk
.
t_from16
.
proc
=
(
WND
PROC
)
func
;
proc
->
thunk
.
t_from16
.
pushw_ax
=
0x5066
;
/* pushw %ax */
proc
->
thunk
.
t_from16
.
pushl_relay
=
0x68
;
/* pushl $relay */
proc
->
thunk
.
t_from16
.
relay
=
(
type
==
WIN_PROC_32A
)
?
...
...
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