summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-11-21 17:03:06 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-11-21 17:03:06 +0000
commiteba4f18a92f478df4a92ca46bac8ba44afc5ddca (patch)
tree8d655e139f5a4b37234c3dc065a1d0aa9c0e3bee /gtk2_ardour/audio_clock.cc
parent22f6b991300e265ecfe0e8fb9e52f36a0cd2912a (diff)
fix a few warnings from newer versions of gcc
git-svn-id: svn://localhost/ardour2/branches/3.0@10734 d708f5d6-7413-0410-9779-e7cbd77b26cf
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;
}
}