diff options
Diffstat (limited to 'facetracknoir/tracker.cpp')
-rw-r--r-- | facetracknoir/tracker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp index 6d5a7ec9..72ad22b4 100644 --- a/facetracknoir/tracker.cpp +++ b/facetracknoir/tracker.cpp @@ -162,7 +162,7 @@ void Tracker::run() { } } - const long q = std::max(0L, sleep_ms * 1000000L - std::max(0L, t.elapsed())); + const long q = std::max(0L, sleep_ms * 1000L - std::max(0L, t.elapsed())); usleep(q); } |