diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2015-05-25 01:00:38 +0300 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2015-06-09 00:17:48 +0300 |
commit | 8c8741fe2000d4b4d89a53f894363a42288cec3e (patch) | |
tree | 162510f80c360551642389b1c060dd8e241eb6d1 /m4 | |
parent | e0bde0b0625f2d398489d9e2f6b9578c11b8c6fb (diff) | |
download | libass-8c8741fe2000d4b4d89a53f894363a42288cec3e.tar.bz2 libass-8c8741fe2000d4b4d89a53f894363a42288cec3e.tar.xz |
string2timecode: don't truncate to int
The timecode is a long long, but it is computed as a product whose
all multiplicands are (unsigned) ints and so effectively has the value
of an (unsigned) int. Fix this, and use the full long long range,
by explicitly making one of the first two multiplicands a long long.
Found by Coverity Scan.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions