Fix for building error on gcc 4.6.3 43/59043/2
authorFerran Sole <ferran.sole@samsung.com>
Mon, 8 Feb 2016 16:05:54 +0000 (16:05 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 9 Feb 2016 11:17:45 +0000 (03:17 -0800)
Change-Id: I7d810c8f5387f0c36f40b62907367572414d3dca

dali/internal/event/common/object-impl-helper.h

index 016aa12..8c25056 100644 (file)
@@ -77,7 +77,7 @@ struct ObjectImplHelper
   {
     indices.Reserve( DEFAULT_PROPERTY_COUNT );
 
-    for( unsigned int i = 0; i < DEFAULT_PROPERTY_COUNT; ++i )
+    for( int i = 0; i < DEFAULT_PROPERTY_COUNT; ++i )
     {
       indices.PushBack( DEFAULT_OBJECT_PROPERTY_START_INDEX + i );
     }
@@ -104,7 +104,7 @@ struct ObjectImplHelper
     // debug only, wouldn't need to make this assumption.
 
     // Look for name in default properties
-    for( unsigned int i = 0; i < DEFAULT_PROPERTY_COUNT; ++i )
+    for( int i = 0; i < DEFAULT_PROPERTY_COUNT; ++i )
     {
       const Internal::PropertyDetails* property = &DEFAULT_PROPERTY_DETAILS[ i ];
       if( 0 == strcmp( name.c_str(), property->name ) ) // dont want to convert rhs to string