From 27e18dcb3abe042b966d843e398417e4dae47dc5 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 5 Jan 2014 21:50:22 +0000 Subject: [PATCH] Another 32bit build fix --- source/modules/carla_native/audio-base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/modules/carla_native/audio-base.hpp b/source/modules/carla_native/audio-base.hpp index 0fc4490af..7e0104921 100644 --- a/source/modules/carla_native/audio-base.hpp +++ b/source/modules/carla_native/audio-base.hpp @@ -299,7 +299,7 @@ public: // lock, and put data asap const CarlaMutex::ScopedLocker sl(fMutex); - for (; i < fPool.size && j < rv; ++j) + for (ssize_t size = (ssize_t)fPool.size; i < size && j < rv; ++j) { if (fFileNfo.channels == 1) { @@ -353,7 +353,7 @@ public: else #endif { - for (; i < fPool.size; ++i) + for (ssize_t size = (ssize_t)fPool.size; i < size; ++i) { fPool.buffer[0][i] = 0.0f; fPool.buffer[1][i] = 0.0f;