projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
libwebm
/
source
/
webvttparser.cc
diff --git
a/src/third_party/libwebm/source/webvttparser.cc
b/src/third_party/libwebm/source/webvttparser.cc
index
c26cd26
..
43d40c0
100644
(file)
--- a/
src/third_party/libwebm/source/webvttparser.cc
+++ b/
src/third_party/libwebm/source/webvttparser.cc
@@
-686,8
+686,8
@@
Time& Time::presentation(presentation_t d) {
return *this;
}
- seconds =
d / 1000
;
- milliseconds =
d - 1000 * seconds
;
+ seconds =
static_cast<int>(d / 1000)
;
+ milliseconds =
static_cast<int>(d - 1000 * seconds)
;
minutes = seconds / 60;
seconds -= 60 * minutes;