Fix fprintf format for long int.
This commit is contained in:
parent
62ebf76ad7
commit
f1435229e4
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ error:
|
||||||
if( err == paUnanticipatedHostError )
|
if( err == paUnanticipatedHostError )
|
||||||
{
|
{
|
||||||
const PaHostErrorInfo *hostErrorInfo = Pa_GetLastHostErrorInfo();
|
const PaHostErrorInfo *hostErrorInfo = Pa_GetLastHostErrorInfo();
|
||||||
fprintf( stderr, "Host API error = #%d, hostApiType = %d\n", hostErrorInfo->errorCode, hostErrorInfo->hostApiType );
|
fprintf( stderr, "Host API error = #%ld, hostApiType = %d\n", hostErrorInfo->errorCode, hostErrorInfo->hostApiType );
|
||||||
fprintf( stderr, "Host API error = %s\n", hostErrorInfo->errorText );
|
fprintf( stderr, "Host API error = %s\n", hostErrorInfo->errorText );
|
||||||
}
|
}
|
||||||
Pa_Terminate();
|
Pa_Terminate();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue