From fb2d077ca9935374dd46576e643d111feb325c90 Mon Sep 17 00:00:00 2001 From: Nicolay Korslund Date: Thu, 12 Aug 2010 15:52:04 +0200 Subject: [PATCH] Minor fixes --- sound/outputs/openal_out.cpp | 2 +- stream/clients/audiere_file.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/outputs/openal_out.cpp b/sound/outputs/openal_out.cpp index 81e222362..c95c02ff6 100644 --- a/sound/outputs/openal_out.cpp +++ b/sound/outputs/openal_out.cpp @@ -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); diff --git a/stream/clients/audiere_file.cpp b/stream/clients/audiere_file.cpp index 1d8e5b706..16bc7891a 100644 --- a/stream/clients/audiere_file.cpp +++ b/stream/clients/audiere_file.cpp @@ -8,7 +8,7 @@ bool AudiereFile::seek(int pos, SeekMode mode) assert(inp->isSeekable); assert(inp->hasPosition); - int newPos; + size_t newPos; switch(mode) {