Fix portaudio player compilation

Originally committed to SVN as r5897.
This commit is contained in:
Thomas Goyne 2011-11-20 03:43:52 +00:00
parent cead5f92df
commit d67cc6032b
1 changed files with 1 additions and 1 deletions

View File

@ -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++;