From: Francisco Santos Date: Thu, 21 May 2015 14:44:46 +0000 (+0100) Subject: Fix return value of implementation alignment. X-Git-Tag: dali_1.0.47~8^2^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a7bc985e71a1250a559b6f03978412adfa7f4c2;p=platform%2Fcore%2Fuifw%2Fdali-core.git Fix return value of implementation alignment. Change-Id: I53388938ec7778a0634a0181f2b3b51f29d38eb0 --- diff --git a/dali/internal/event/common/property-buffer-impl.cpp b/dali/internal/event/common/property-buffer-impl.cpp index 3f5db1d..d931404 100644 --- a/dali/internal/event/common/property-buffer-impl.cpp +++ b/dali/internal/event/common/property-buffer-impl.cpp @@ -85,57 +85,57 @@ unsigned int GetPropertyImplementationAlignment( Property::Type& propertyType ) } case Property::BOOLEAN: { - alignment = sizeof( PropertyImplementationTypeAlignment< Property::BOOLEAN >::VALUE ); + alignment = PropertyImplementationTypeAlignment< Property::BOOLEAN >::VALUE; break; } case Property::INTEGER: { - alignment = sizeof( PropertyImplementationTypeAlignment< Property::INTEGER >::VALUE ); + alignment = PropertyImplementationTypeAlignment< Property::INTEGER >::VALUE; break; } case Property::UNSIGNED_INTEGER: { - alignment = sizeof( PropertyImplementationTypeAlignment< Property::UNSIGNED_INTEGER >::VALUE ); + alignment = PropertyImplementationTypeAlignment< Property::UNSIGNED_INTEGER >::VALUE; break; } case Property::FLOAT: { - alignment = sizeof( PropertyImplementationTypeAlignment< Property::FLOAT >::VALUE ); + alignment = PropertyImplementationTypeAlignment< Property::FLOAT >::VALUE; break; } case Property::VECTOR2: { - alignment = sizeof( PropertyImplementationTypeAlignment< Property::VECTOR2 >::VALUE ); + alignment = PropertyImplementationTypeAlignment< Property::VECTOR2 >::VALUE; break; } case Property::VECTOR3: { - alignment = sizeof( PropertyImplementationTypeAlignment< Property::VECTOR3 >::VALUE ); + alignment = PropertyImplementationTypeAlignment< Property::VECTOR3 >::VALUE; break; } case Property::VECTOR4: { - alignment = sizeof( PropertyImplementationTypeAlignment< Property::VECTOR4 >::VALUE ); + alignment = PropertyImplementationTypeAlignment< Property::VECTOR4 >::VALUE; break; } case Property::MATRIX3: { - alignment = sizeof( PropertyImplementationTypeAlignment< Property::MATRIX3 >::VALUE ); + alignment = PropertyImplementationTypeAlignment< Property::MATRIX3 >::VALUE; break; } case Property::MATRIX: { - alignment = sizeof( PropertyImplementationTypeAlignment< Property::MATRIX >::VALUE ); + alignment = PropertyImplementationTypeAlignment< Property::MATRIX >::VALUE; break; } case Property::RECTANGLE: { - alignment = sizeof( PropertyImplementationTypeAlignment< Property::RECTANGLE >::VALUE ); + alignment = PropertyImplementationTypeAlignment< Property::RECTANGLE >::VALUE; break; } case Property::ROTATION: { - alignment = sizeof( PropertyImplementationTypeAlignment< Property::ROTATION >::VALUE ); + alignment = PropertyImplementationTypeAlignment< Property::ROTATION >::VALUE; break; } }