diff options
author | Max Kellermann <max@duempel.org> | 2010-11-18 21:29:03 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-11-18 21:29:03 +0100 |
commit | 8f46f1520cdb3e3e131b2021ac40325f6bdda2c8 (patch) | |
tree | d3c80f6ae43c7451180896521524dc0b445e75b9 /src/main_win32.c | |
parent | 46ab8d18e2539359eadb48b323ee9cace8b3a65b (diff) | |
download | mpd-8f46f1520cdb3e3e131b2021ac40325f6bdda2c8.tar.gz mpd-8f46f1520cdb3e3e131b2021ac40325f6bdda2c8.tar.xz mpd-8f46f1520cdb3e3e131b2021ac40325f6bdda2c8.zip |
timer: fix integer overflow in timer_delay()
Fixes a regression: for output_plugin.delay(), we added a method to
the timer class which returns the delay in milliseconds. This fails
to detect negative values, because the unsigned integer is divided by
1000, and then casted to signed.
Diffstat (limited to 'src/main_win32.c')
0 files changed, 0 insertions, 0 deletions