use Sint32 char_traits

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