Fix fps_counter tick type
The type uint32_t is not sufficient to store the result of
sc_tick_now().
As a consequence, the FPS counter entered a live loop and caused a lock
starvation (deadlock in practice).
Refs
Refs
@@ -57,7 +57,7 @@ display_fps(struct fps_counter *counter) {
// must be called with mutex locked
static void
-check_interval_expired(struct fps_counter *counter, uint32_t now) {
+check_interval_expired(struct fps_counter *counter, sc_tick now) {
if (now < counter->next_timestamp) {
return;
}
