summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/audio_clock.cc')
-rw-r--r--gtk2_ardour/audio_clock.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc
index 2e7826ef6c..47f17e5f4e 100644
--- a/gtk2_ardour/audio_clock.cc
+++ b/gtk2_ardour/audio_clock.cc
@@ -1681,7 +1681,7 @@ AudioClock::timecode_validate_edit (const string& str)
return false;
}
- if (TC.minutes > 59 || TC.seconds > 59) {
+ if (TC.minutes > 59U || TC.seconds > 59U) {
return false;
}
@@ -1690,7 +1690,7 @@ AudioClock::timecode_validate_edit (const string& str)
}
if (_session->timecode_drop_frames()) {
- if (TC.minutes % 10 && TC.seconds == 0 && TC.frames < 2) {
+ if (TC.minutes % 10 && TC.seconds == 0U && TC.frames < 2U) {
return false;
}
}