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
af32b64c
Commit
af32b64c
authored
Feb 14, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
midimap: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
68271331
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
dlls/midimap/Makefile.in
+0
-1
midimap.c
dlls/midimap/midimap.c
+3
-3
No files found.
dlls/midimap/Makefile.in
View file @
af32b64c
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
midimap.dll
IMPORTS
=
winmm user32 advapi32
...
...
dlls/midimap/midimap.c
View file @
af32b64c
...
...
@@ -286,7 +286,7 @@ static DWORD modOpen(DWORD_PTR *lpdwUser, LPMIDIOPENDESC lpDesc, DWORD dwFlags)
{
MIDIMAPDATA
*
mom
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
MIDIMAPDATA
));
TRACE
(
"(%p %p %08x)
\n
"
,
lpdwUser
,
lpDesc
,
dwFlags
);
TRACE
(
"(%p %p %08
l
x)
\n
"
,
lpdwUser
,
lpDesc
,
dwFlags
);
if
(
!
mom
)
return
MMSYSERR_NOMEM
;
if
(
!
lpDesc
)
{
...
...
@@ -432,7 +432,7 @@ static DWORD modData(MIDIMAPDATA* mom, DWORD_PTR dwParam)
}
break
;
default:
FIXME
(
"ooch %
l
x
\n
"
,
dwParam
);
FIXME
(
"ooch %
I
x
\n
"
,
dwParam
);
}
return
ret
;
...
...
@@ -523,7 +523,7 @@ static LRESULT MIDIMAP_drvClose(void);
DWORD
WINAPI
MIDIMAP_modMessage
(
UINT
wDevID
,
UINT
wMsg
,
DWORD_PTR
dwUser
,
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
)
{
TRACE
(
"(%u, %04X, %08
lX, %08lX, %08l
X);
\n
"
,
TRACE
(
"(%u, %04X, %08
IX, %08IX, %08I
X);
\n
"
,
wDevID
,
wMsg
,
dwUser
,
dwParam1
,
dwParam2
);
switch
(
wMsg
)
...
...
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