Browse Source

Fixed a compiler warning

tags/2021-05-28
Tom Poole 7 years ago
parent
commit
04e9b09359
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_analytics/destinations/juce_ThreadedAnalyticsDestination.cpp

+ 2
- 2
modules/juce_analytics/destinations/juce_ThreadedAnalyticsDestination.cpp View File

@@ -104,8 +104,8 @@ void ThreadedAnalyticsDestination::EventDispatcher::run()
const auto numEventsToAdd = jmin (numNewEvents, freeBatchCapacity);
const auto newBatchSize = numEventsInBatch + numEventsToAdd;
for (size_t i = numEventsInBatch; i < (size_t) newBatchSize; ++i)
eventsToSend.add (eventQueue[i]);
for (auto i = numEventsInBatch; i < newBatchSize; ++i)
eventsToSend.add (eventQueue[(size_t) i]);
}
}
}


Loading…
Cancel
Save