projects
/
platform
/
core
/
uifw
/
isf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40737ab
)
Fix implicitly cast issue
27/139927/2
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Fri, 21 Jul 2017 05:34:16 +0000
(14:34 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Fri, 21 Jul 2017 07:17:57 +0000
(07:17 +0000)
The '_t1.tv_sec * 1000000' expression was implicitly cast from 'long' type to 'float' type.
Change-Id: If21fa998471b1b93ebffe18bd5845269594d8ed3
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ism/src/scim_utility.cpp
patch
|
blob
|
history
diff --git
a/ism/src/scim_utility.cpp
b/ism/src/scim_utility.cpp
index
a9b08c0
..
eceb7f0
100644
(file)
--- a/
ism/src/scim_utility.cpp
+++ b/
ism/src/scim_utility.cpp
@@
-1487,7
+1487,7
@@
void ISF_PROF_DEBUG_TIME_END (char const* format, char const* func, int line)
/* Measure elapsed time */
void ISF_PROF_DEBUG_TIME (char const* func, int line, char const* str)
{
-
float
etime = 0.0;
+
double
etime = 0.0;
if (_t0.tv_sec == 0 && _t0.tv_usec == 0) {
gettimeofday (&_t0, NULL);