From 99f846cdde34f4ce4f45dd983e5adbb7b9656920 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sat, 6 Aug 2011 14:28:32 -0700 Subject: [PATCH] Fix a float/integer conversion warning. --- Sources/Plasma/PubUtilLib/plAudio/plDSoundBuffer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/Plasma/PubUtilLib/plAudio/plDSoundBuffer.cpp b/Sources/Plasma/PubUtilLib/plAudio/plDSoundBuffer.cpp index d757e8b0..ca88fd95 100644 --- a/Sources/Plasma/PubUtilLib/plAudio/plDSoundBuffer.cpp +++ b/Sources/Plasma/PubUtilLib/plAudio/plDSoundBuffer.cpp @@ -761,7 +761,6 @@ void plDSoundBuffer::SetTimeOffsetSec(float seconds) void plDSoundBuffer::SetTimeOffsetBytes(unsigned bytes) { - alSourcef(source, AL_BYTE_OFFSET, bytes); + alSourcei(source, AL_BYTE_OFFSET, bytes); ALenum error = alGetError(); } - \ No newline at end of file