Fix portaudio player compilation
Originally committed to SVN as r5897.
This commit is contained in:
parent
cead5f92df
commit
d67cc6032b
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ PortAudioPlayer::PortAudioPlayer() {
|
|||
|
||||
if (err != paNoError) {
|
||||
static char errormsg[2048];
|
||||
sprintf(errormsg, 2048, "Failed opening PortAudio: %s", Pa_GetErrorText(err));
|
||||
snprintf(errormsg, 2048, "Failed opening PortAudio: %s", Pa_GetErrorText(err));
|
||||
throw errormsg;
|
||||
}
|
||||
pa_refcount++;
|
||||
|
|
Loading…
Reference in a new issue