diff options
author | PHO <pho@cielonegro.org> | 2015-01-26 14:54:16 +0900 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-01-29 08:33:48 +0100 |
commit | a4f4fc50b9e1c825806dc7dc44ac8eb4398a3a5b (patch) | |
tree | d8abfdb8c81c2c6428e33cb6c71ecebf247c0266 /src/tag/TagRva2.cxx | |
parent | ad1b6ef0ac5e7c869b6adbede153e8b2ac55d708 (diff) | |
download | mpd-a4f4fc50b9e1c825806dc7dc44ac8eb4398a3a5b.tar.gz mpd-a4f4fc50b9e1c825806dc7dc44ac8eb4398a3a5b.tar.xz mpd-a4f4fc50b9e1c825806dc7dc44ac8eb4398a3a5b.zip |
Avoid integer overflow in MonotonicClock{S,MS,US}
This is Darwin specific: the previous implementation was causing an integer
overflow when base.numer is very large. On PPC Darwin, the timebase info is 1000000000/33330116 and this is too large for integer arithmetic.
Diffstat (limited to 'src/tag/TagRva2.cxx')
0 files changed, 0 insertions, 0 deletions