Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
c52ba78a
Commit
c52ba78a
authored
Oct 03, 2007
by
Rémi Denis-Courmont
Browse files
Fix messed up cast that breaks gcc 4
parent
121f3c3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/vcd/cdrom.c
View file @
c52ba78a
...
...
@@ -1157,10 +1157,8 @@ static int win32_vcd_open( vlc_object_t * p_this, const char *psz_dev,
hASPI
=
LoadLibrary
(
"wnaspi32.dll"
);
if
(
hASPI
!=
NULL
)
{
(
FARPROC
)
lpGetSupport
=
GetProcAddress
(
hASPI
,
"GetASPI32SupportInfo"
);
(
FARPROC
)
lpSendCommand
=
GetProcAddress
(
hASPI
,
"SendASPI32Command"
);
lpGetSupport
=
(
void
*
)
GetProcAddress
(
hASPI
,
"GetASPI32SupportInfo"
);
lpSendCommand
=
(
void
*
)
GetProcAddress
(
hASPI
,
"SendASPI32Command"
);
}
if
(
hASPI
==
NULL
||
lpGetSupport
==
NULL
||
lpSendCommand
==
NULL
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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