From: Youngbok Shin Date: Mon, 30 Jul 2018 05:48:28 +0000 (+0900) Subject: lottie/vector: remove a warning message from 64 bits compilation X-Git-Tag: submit/tizen/20180917.042405~161 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29eedc78ea17d5188f5f82842b5dd8ec12587625;p=platform%2Fcore%2Fuifw%2Flottie-player.git lottie/vector: remove a warning message from 64 bits compilation uint64_t is same as unsigned long long in 32 bits compilation. But, it is same as unsigned long in 64 bits compilation. Change-Id: Ibcddaf17d1fa1f6c972906f6571c05253292b752 --- diff --git a/src/vector/vdebug.cpp b/src/vector/vdebug.cpp index 47db2eb..3b42ea2 100644 --- a/src/vector/vdebug.cpp +++ b/src/vector/vdebug.cpp @@ -32,7 +32,7 @@ void format_timestamp(std::ostream& os, uint64_t timestamp) char buffer[32]; strftime(buffer, 32, "%Y-%m-%d %T.", gmtime); char microseconds[7]; - sprintf(microseconds, "%06llu", timestamp % 1000000); + sprintf(microseconds, "%06llu", (long long unsigned int)timestamp % 1000000); os << '[' << buffer << microseconds << ']'; }