Browse Source

Introjucer: Workaround for old versions of GCC

tags/2021-05-28
jules 10 years ago
parent
commit
d75c31bf64
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h

+ 2
- 2
extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h 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);


Loading…
Cancel
Save