mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
fix compiler warning
This commit is contained in:
parent
8b98125ad3
commit
bb5cd8aa32
1 changed files with 1 additions and 1 deletions
|
|
@ -1164,7 +1164,7 @@ Editor::lock_timeout_callback ()
|
||||||
|
|
||||||
timersub (&now, &last_event_time, &delta);
|
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 ();
|
lock ();
|
||||||
/* don't call again. Returning false will effectively
|
/* don't call again. Returning false will effectively
|
||||||
disconnect us from the timer callback.
|
disconnect us from the timer callback.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue