1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-13 00:04:19 +00:00

Introjucer: Workaround for old versions of GCC

This commit is contained in:
jules 2014-11-05 12:37:52 +00:00
parent 01e1421613
commit d75c31bf64

View file

@ -1278,7 +1278,7 @@ private:
{ "ipad", "76x76", "2x" } };
var images;
for (int i = 0; i < numElementsInArray (types); ++i)
for (size_t i = 0; i < sizeof (types) / sizeof (types[0]); ++i)
{
DynamicObject::Ptr d = new DynamicObject();
d->setProperty ("idiom", types[i].idiom);
@ -1308,7 +1308,7 @@ private:
{ "landscape", "ipad", "full-screen", "2x" } };
var images;
for (int i = 0; i < numElementsInArray (types); ++i)
for (size_t i = 0; i < sizeof (types) / sizeof (types[0]); ++i)
{
DynamicObject::Ptr d = new DynamicObject();
d->setProperty ("orientation", types[i].orientation);