From 29eedc78ea17d5188f5f82842b5dd8ec12587625 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Mon, 30 Jul 2018 14:48:28 +0900 Subject: [PATCH] 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 --- src/vector/vdebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 << ']'; } -- 2.34.1