diff --git a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h index 5531cd42b6..b4c7e72c18 100644 --- a/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h +++ b/extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h @@ -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);