aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/InotifyQueue.hxx
diff options
context:
space:
mode:
authorPHO <pho@cielonegro.org>2015-01-26 14:54:16 +0900
committerMax Kellermann <max@duempel.org>2015-01-29 08:34:37 +0100
commit39abd3ecb493c2a12dd08a31042dce07664642d2 (patch)
treeb3517eddb3a7414275c924a52eb6b2b1c525d5fe /src/db/update/InotifyQueue.hxx
parent7bf638b0deedf02aea46e72f6f3c848e86f2ce0d (diff)
downloadmpd-39abd3ecb493c2a12dd08a31042dce07664642d2.tar.gz
mpd-39abd3ecb493c2a12dd08a31042dce07664642d2.tar.xz
mpd-39abd3ecb493c2a12dd08a31042dce07664642d2.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/db/update/InotifyQueue.hxx')
0 files changed, 0 insertions, 0 deletions