• Max Kellermann's avatar
    timer: fix integer overflow in timer_delay() · 8f46f152
    Max Kellermann authored
    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.
    8f46f152
timer.c 1.98 KB