Commit a3ca9963 authored by Max Kellermann's avatar Max Kellermann

output/Timer: pass size_t to Add()

parent 2d3c2387
......@@ -42,7 +42,8 @@ void Timer::Reset()
started = false;
}
void Timer::Add(int size)
void
Timer::Add(size_t size)
{
assert(started);
......
......@@ -21,6 +21,7 @@
#define MPD_TIMER_HXX
#include <stdint.h>
#include <stddef.h>
struct AudioFormat;
......@@ -36,7 +37,7 @@ public:
void Start();
void Reset();
void Add(int size);
void Add(size_t size);
/**
* Returns the number of milliseconds to sleep to get back to sync.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment