Minor fixes

This commit is contained in:
Nicolay Korslund 2010-08-12 15:52:04 +02:00
parent 87f6e73975
commit fb2d077ca9
2 changed files with 2 additions and 2 deletions

View file

@ -146,7 +146,7 @@ SoundPtr OpenAL_Sound::clone() const
// Constructor used for cloned sounds // Constructor used for cloned sounds
OpenAL_Sound::OpenAL_Sound(ALuint buf, int *ref) OpenAL_Sound::OpenAL_Sound(ALuint buf, int *ref)
: refCnt(ref), bufferID(buf) : bufferID(buf), refCnt(ref)
{ {
// Increase the reference count // Increase the reference count
assert(ref != NULL); assert(ref != NULL);

View file

@ -8,7 +8,7 @@ bool AudiereFile::seek(int pos, SeekMode mode)
assert(inp->isSeekable); assert(inp->isSeekable);
assert(inp->hasPosition); assert(inp->hasPosition);
int newPos; size_t newPos;
switch(mode) switch(mode)
{ {