summaryrefslogtreecommitdiff
path: root/libs/ardour/audio_track.cc
diff options
context:
space:
mode:
authorKarsten Wiese <fzuuzf@googlemail.com>2005-12-24 12:10:01 +0000
committerKarsten Wiese <fzuuzf@googlemail.com>2005-12-24 12:10:01 +0000
commit143cb330b6c0d9301488badd35db4ce6f3e10b0a (patch)
tree5105b81e4284cf8003bc95d4ef4c84a39210ab2c /libs/ardour/audio_track.cc
parent45addca9eb60a92acda39c8f811d25daa0cfb216 (diff)
fix some 64bit warnings
git-svn-id: svn://localhost/trunk/ardour2@206 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_track.cc')
-rw-r--r--libs/ardour/audio_track.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/audio_track.cc b/libs/ardour/audio_track.cc
index a706de712b..75f930bf8d 100644
--- a/libs/ardour/audio_track.cc
+++ b/libs/ardour/audio_track.cc
@@ -860,7 +860,7 @@ AudioTrack::freeze (InterThreadInfo& itt)
uint32_t n = 1;
- while (n < (ULONG_MAX-1)) {
+ while (n < (UINT_MAX-1)) {
string candidate;
@@ -875,7 +875,7 @@ AudioTrack::freeze (InterThreadInfo& itt)
}
- if (n == (ULONG_MAX-1)) {
+ if (n == (UINT_MAX-1)) {
error << string_compose (X_("There Are too many frozen versions of playlist \"%1\""
" to create another one"), _freeze_record.playlist->name())
<< endmsg;