fix compiler warning

This commit is contained in:
Paul Davis 2014-08-28 14:00:31 -04:00
parent 8b98125ad3
commit bb5cd8aa32

View file

@ -1164,7 +1164,7 @@ Editor::lock_timeout_callback ()
timersub (&now, &last_event_time, &delta);
if (delta.tv_sec > ARDOUR_UI::config()->get_lock_gui_after_seconds()) {
if (delta.tv_sec > (time_t) ARDOUR_UI::config()->get_lock_gui_after_seconds()) {
lock ();
/* don't call again. Returning false will effectively
disconnect us from the timer callback.