git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
121f3c3
)
Fix messed up cast that breaks gcc 4
author
Rémi Denis-Courmont
<rem@videolan.org>
Wed, 3 Oct 2007 19:04:57 +0000
(19:04 +0000)
committer
Rémi Denis-Courmont
<rem@videolan.org>
Wed, 3 Oct 2007 19:04:57 +0000
(19:04 +0000)
modules/access/vcd/cdrom.c
patch
|
blob
|
history
diff --git
a/modules/access/vcd/cdrom.c
b/modules/access/vcd/cdrom.c
index
d1ac990
..
2cb0a54
100644
(file)
--- a/
modules/access/vcd/cdrom.c
+++ b/
modules/access/vcd/cdrom.c
@@
-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 )