--- linuxsampler/trunk/src/engines/sfz/Stream.cpp 2015/08/23 05:57:18 2836 +++ linuxsampler/trunk/src/engines/sfz/Stream.cpp 2015/08/23 06:14:00 2837 @@ -4,7 +4,7 @@ * * * Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck * * Copyright (C) 2005-2009 Christian Schoenebeck * - * Copyright (C) 2009-2012 Grigor Iliev * + * Copyright (C) 2009-2015 Grigor Iliev * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -47,7 +47,7 @@ if (this->DoLoop) { // honor looping total_readsamples = pSample->ReadAndLoop(pBuf, SamplesToRead, &PlaybackState, pRegion); endofsamplereached = (this->PlaybackState.position >= pSample->GetTotalFrameCount()); - dmsg(5,("Refilled stream %d with %d (SamplePos: %d)", this->hThis, total_readsamples, this->PlaybackState.position)); + dmsg(5,("Refilled stream %d with %ld (SamplePos: %lu)", this->hThis, total_readsamples, this->PlaybackState.position)); } else { // normal forward playback @@ -63,7 +63,7 @@ this->SampleOffset = pSample->GetPos(); endofsamplereached = (SampleOffset >= pSample->GetTotalFrameCount()); - dmsg(5,("Refilled stream %d with %d (SamplePos: %d)", this->hThis, total_readsamples, this->SampleOffset)); + dmsg(5,("Refilled stream %d with %ld (SamplePos: %lu)", this->hThis, total_readsamples, this->SampleOffset)); } // update stream state