use Sint32 char_traits correctly

This commit is contained in:
Glenn Maynard
2003-02-14 22:52:38 +00:00
parent 85d15e9976
commit dd06dddc75
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ void SoundMixBuffer::write(const Sint16 *buf, unsigned size)
{
if(mixbuf.size() < size)
{
basic_string<Sint32,char_traits_Sint32> empty(size-mixbuf.size(), 0);
basic_string<Sint32> empty(size-mixbuf.size(), 0);
mixbuf.insert(mixbuf.end(), empty.begin(), empty.end());
}