diff options
author | František Dvořák <valtri@civ.zcu.cz> | 2009-01-12 19:24:48 +0100 |
---|---|---|
committer | František Dvořák <valtri@civ.zcu.cz> | 2009-01-12 19:24:48 +0100 |
commit | 7e47a3180c08f2fcaa688ab33cae838d88d8ba0e (patch) | |
tree | be69336b766f841bb08727d7f5d9b46be40b0303 | |
parent | 9b5de45cf7d56439a3f7b94c2936e2c4f2aa8a3e (diff) | |
download | xine-lib-7e47a3180c08f2fcaa688ab33cae838d88d8ba0e.tar.gz xine-lib-7e47a3180c08f2fcaa688ab33cae838d88d8ba0e.tar.bz2 |
Fixed lvalue cast error (build with newer mingw compilation tools).
-rw-r--r-- | src/input/input_cdda.c | 4 | ||||
-rw-r--r-- | src/input/vcd/libcdio/MSWindows/aspi32.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c index 996460832..e702238c2 100644 --- a/src/input/input_cdda.c +++ b/src/input/input_cdda.c @@ -2084,9 +2084,9 @@ static int cdda_open(cdda_input_plugin_t *this_gen, hASPI = LoadLibrary( "wnaspi32.dll" ); if( hASPI != NULL ) { - (FARPROC) lpGetSupport = GetProcAddress( hASPI, + lpGetSupport = GetProcAddress( hASPI, "GetASPI32SupportInfo" ); - (FARPROC) lpSendCommand = GetProcAddress( hASPI, + lpSendCommand = GetProcAddress( hASPI, "SendASPI32Command" ); } diff --git a/src/input/vcd/libcdio/MSWindows/aspi32.c b/src/input/vcd/libcdio/MSWindows/aspi32.c index 238a4b4e9..e62f8a089 100644 --- a/src/input/vcd/libcdio/MSWindows/aspi32.c +++ b/src/input/vcd/libcdio/MSWindows/aspi32.c @@ -162,9 +162,9 @@ have_aspi( HMODULE *hASPI, return false; } - (FARPROC) *lpGetSupport = GetProcAddress( *hASPI, + *lpGetSupport = (FARPROC)GetProcAddress( *hASPI, "GetASPI32SupportInfo" ); - (FARPROC) *lpSendCommand = GetProcAddress( *hASPI, + *lpSendCommand = (FARPROC)GetProcAddress( *hASPI, "SendASPI32Command" ); /* make sure that we've got both function addresses */ |