X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-core.git;a=blobdiff_plain;f=dali%2Fpublic-api%2Fcommon%2Fdali-vector.h;h=2b7b78618e38688618e8f37898dd5a09ddcde50f;hp=4140049e6c8da1d9f28c829d0dcbb05ee0510b5f;hb=646f736e77b085c86e982c0d1d4b895c2a431330;hpb=b41db98148be41ef5928f4335e985bf62252dde7 diff --git a/dali/public-api/common/dali-vector.h b/dali/public-api/common/dali-vector.h index 4140049..2b7b786 100755 --- a/dali/public-api/common/dali-vector.h +++ b/dali/public-api/common/dali-vector.h @@ -21,6 +21,7 @@ // EXTERNAL INCLUDES #include #include +#include // uint32_t // INTERNAL INCLUDES #include @@ -360,7 +361,7 @@ protected: // API for deriving classes std::size_t offset = at - reinterpret_cast( mData ); // need more space - Reserve( NextPowerOfTwo( newCount ), elementSize ); // reserve enough space to store at least the next power of two elements of the new required size. + Reserve( NextPowerOfTwo( static_cast( newCount ) ), elementSize ); // reserve enough space to store at least the next power of two elements of the new required size. // Set the new at pointer. at = reinterpret_cast( mData ) + offset;