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
6f163b56
Commit
6f163b56
authored
Sep 08, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid 'clobbered by longjmp' warnings.
parent
cdd9a4a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
driver.c
dlls/winmm/driver.c
+2
-1
lolvldrv.c
dlls/winmm/lolvldrv.c
+3
-4
No files found.
dlls/winmm/driver.c
View file @
6f163b56
...
...
@@ -75,10 +75,11 @@ static unsigned DRIVER_GetNumberOfModuleRefs(HMODULE hModule, WINE_DRIVER** foun
*/
LPWINE_DRIVER
DRIVER_FindFromHDrvr
(
HDRVR
hDrvr
)
{
LPWINE_DRIVER
d
=
(
LPWINE_DRIVER
)
hDrvr
;
LPWINE_DRIVER
d
;
__TRY
{
d
=
(
LPWINE_DRIVER
)
hDrvr
;
if
(
d
&&
d
->
dwMagic
!=
WINE_DI_MAGIC
)
d
=
NULL
;
}
__EXCEPT
(
NULL
)
...
...
dlls/winmm/lolvldrv.c
View file @
6f163b56
...
...
@@ -440,11 +440,11 @@ LPWINE_MLD MMDRV_Get(HANDLE _hndl, UINT type, BOOL bCanBeID)
if
(
hndl
>=
llTypes
[
type
].
wMaxId
&&
hndl
!=
(
UINT16
)
-
1
&&
hndl
!=
(
UINT
)
-
1
)
{
if
(
hndl
&
0x8000
)
{
hndl
=
hndl
&
~
0x8000
;
if
(
hndl
<
sizeof
(
MM_MLDrvs
)
/
sizeof
(
MM_MLDrvs
[
0
]))
{
mld
=
MM_MLDrvs
[
hndl
];
UINT
idx
=
hndl
&
~
0x8000
;
if
(
idx
<
sizeof
(
MM_MLDrvs
)
/
sizeof
(
MM_MLDrvs
[
0
]))
{
__TRY
{
mld
=
MM_MLDrvs
[
idx
];
if
(
mld
&&
mld
->
type
!=
type
)
mld
=
NULL
;
}
__EXCEPT
(
NULL
)
...
...
@@ -453,7 +453,6 @@ LPWINE_MLD MMDRV_Get(HANDLE _hndl, UINT type, BOOL bCanBeID)
}
__ENDTRY
;
}
hndl
=
hndl
|
0x8000
;
}
}
if
(
mld
==
NULL
&&
bCanBeID
)
{
...
...
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