projects
/
platform
/
core
/
uifw
/
lottie-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e99664a
)
lottie/vector: remove a warning message from 64 bits compilation
80/185380/1
author
Youngbok Shin
<youngb.shin@samsung.com>
Mon, 30 Jul 2018 05:48:28 +0000
(14:48 +0900)
committer
Youngbok Shin
<youngb.shin@samsung.com>
Mon, 30 Jul 2018 05:48:28 +0000
(14:48 +0900)
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
patch
|
blob
|
history
diff --git
a/src/vector/vdebug.cpp
b/src/vector/vdebug.cpp
index
47db2eb
..
3b42ea2
100644
(file)
--- 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 << ']';
}