Commit c52ba78a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix messed up cast that breaks gcc 4

parent 121f3c3e
...@@ -1157,10 +1157,8 @@ static int win32_vcd_open( vlc_object_t * p_this, const char *psz_dev, ...@@ -1157,10 +1157,8 @@ static int win32_vcd_open( vlc_object_t * p_this, const char *psz_dev,
hASPI = LoadLibrary( "wnaspi32.dll" ); hASPI = LoadLibrary( "wnaspi32.dll" );
if( hASPI != NULL ) if( hASPI != NULL )
{ {
(FARPROC) lpGetSupport = GetProcAddress( hASPI, lpGetSupport = (void *)GetProcAddress( hASPI, "GetASPI32SupportInfo" );
"GetASPI32SupportInfo" ); lpSendCommand = (void *)GetProcAddress( hASPI, "SendASPI32Command" );
(FARPROC) lpSendCommand = GetProcAddress( hASPI,
"SendASPI32Command" );
} }
if( hASPI == NULL || lpGetSupport == NULL || lpSendCommand == NULL ) if( hASPI == NULL || lpGetSupport == NULL || lpSendCommand == NULL )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment