From 4bffe5fc33639354dac656679010d4a3ffee3223 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 22 Oct 2016 21:32:07 +0200 Subject: [PATCH] Change default value for last_input --- runloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runloop.c b/runloop.c index 2eff5b8678..11c0e1ae5a 100644 --- a/runloop.c +++ b/runloop.c @@ -1119,7 +1119,7 @@ int runloop_iterate(unsigned *sleep_ms) { unsigned i; retro_time_t current, target, to_sleep_ms; - static uint64_t last_input = {0}; + static uint64_t last_input = 0; enum runloop_state runloop_status = RUNLOOP_STATE_NONE; static retro_time_t frame_limit_minimum_time = 0.0; static retro_time_t frame_limit_last_time = 0.0;