X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fevents%2Ftouch-event.cpp;h=9a3a8217415786a45df3a0f725949edcf073117a;hb=646f736e77b085c86e982c0d1d4b895c2a431330;hp=2ec7411783f865846cc86c99f73ac0261f230311;hpb=1f7c14406d57565142ea361461dd9edfa16619f3;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/events/touch-event.cpp b/dali/public-api/events/touch-event.cpp index 2ec7411..9a3a821 100644 --- a/dali/public-api/events/touch-event.cpp +++ b/dali/public-api/events/touch-event.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,12 +41,12 @@ TouchEvent::~TouchEvent() { } -unsigned int TouchEvent::GetPointCount() const +uint32_t TouchEvent::GetPointCount() const { - return points.size(); + return static_cast( points.size() ); } -const TouchPoint& TouchEvent::GetPoint(unsigned int point) const +const TouchPoint& TouchEvent::GetPoint( uint32_t point ) const { DALI_ASSERT_ALWAYS( point < points.size() && "No point at index" ); return points[point];