added cast to IsDebuggerPresentPtr, fixes compilation of asio on some systems
This commit is contained in:
parent
3edc75b860
commit
dc6f3c8ec2
1 changed files with 1 additions and 1 deletions
|
|
@ -1164,7 +1164,7 @@ PaError PaAsio_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
IsDebuggerPresent_ = GetProcAddress( LoadLibrary( "Kernel32.dll" ), "IsDebuggerPresent" );
|
IsDebuggerPresent_ = (IsDebuggerPresentPtr)GetProcAddress( LoadLibrary( "Kernel32.dll" ), "IsDebuggerPresent" );
|
||||||
|
|
||||||
for( i=0; i < driverCount; ++i )
|
for( i=0; i < driverCount; ++i )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue