From 2a7bc985e71a1250a559b6f03978412adfa7f4c2 Mon Sep 17 00:00:00 2001 From: Francisco Santos Date: Thu, 21 May 2015 15:44:46 +0100 Subject: [PATCH] Fix return value of implementation alignment. Change-Id: I53388938ec7778a0634a0181f2b3b51f29d38eb0 --- .../internal/event/common/property-buffer-impl.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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; } } -- 2.7.4