Browse Source

Another 32bit build fix

tags/1.9.4
falkTX 11 years ago
parent
commit
27e18dcb3a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/modules/carla_native/audio-base.hpp

+ 2
- 2
source/modules/carla_native/audio-base.hpp View File

@@ -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;


Loading…
Cancel
Save