1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-02 14:45:32 +00:00

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
OpenAL_Sound::OpenAL_Sound(ALuint buf, int *ref)
: refCnt(ref), bufferID(buf)
: bufferID(buf), refCnt(ref)
{
// Increase the reference count
assert(ref != NULL);

View file

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