Merge branch 'master' into windows
[ardour.git] / libs / ardour / automation_watch.cc
index 4e5f64bd32cff5336e42534720250260f7755ecb..91fe4d38edbcf727aa5830aa21dea432ee10adb0 100644 (file)
@@ -136,7 +136,7 @@ void
 AutomationWatch::thread ()
 {
        while (_run_thread) {
-               Glib::usleep ((useconds_t) floor (Config->get_automation_interval_msecs() * 1000));
+               Glib::usleep ((gulong) floor (Config->get_automation_interval_msecs() * 1000));
                timer ();
        }
 }