projects
/
profile
/
common
/
apps
/
native
/
firmware-update-system-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
349063d
)
hot fix : rw-update-ani-common : resolve integers' divide problem which can't get...
11/247011/1
submit/tizen/20201106.052508
author
dyamy-lee
<dyamy.lee@samsung.com>
Fri, 6 Nov 2020 04:09:55 +0000
(13:09 +0900)
committer
dyamy-lee
<dyamy.lee@samsung.com>
Fri, 6 Nov 2020 04:12:14 +0000
(13:12 +0900)
Change-Id: I90f380dd39610bd690c05da6e5c5755a470d91b2
rw-update-ani-common/fota_gr_direct_rw_common.c
patch
|
blob
|
history
diff --git
a/rw-update-ani-common/fota_gr_direct_rw_common.c
b/rw-update-ani-common/fota_gr_direct_rw_common.c
index 6bff6bb647e306fe7cc490a7416866e812d2e06e..2828c2429462bf32cd2a88d6f82d1b0438f456c3 100644
(file)
--- a/
rw-update-ani-common/fota_gr_direct_rw_common.c
+++ b/
rw-update-ani-common/fota_gr_direct_rw_common.c
@@
-457,7
+457,7
@@
void fota_gr_direct_rw_update_progress(void)
if (total == 0)
s_percent_to_draw = 0;
else
- s_percent_to_draw = 100 * (progress / total);
+ s_percent_to_draw = 100 * (
(float)
progress / total);
if (s_saved_percent < s_percent_to_draw) {
LOG("s_saved_percent %d , s_percent_to_draw %d \n", s_saved_percent, s_percent_to_draw);