forked from teamnwah/openmw-tes3coop
Minor fixes
This commit is contained in:
parent
87f6e73975
commit
fb2d077ca9
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue