diff options
author | Karsten Wiese <fzuuzf@googlemail.com> | 2005-12-24 12:10:01 +0000 |
---|---|---|
committer | Karsten Wiese <fzuuzf@googlemail.com> | 2005-12-24 12:10:01 +0000 |
commit | 143cb330b6c0d9301488badd35db4ce6f3e10b0a (patch) | |
tree | 5105b81e4284cf8003bc95d4ef4c84a39210ab2c /libs/ardour/session.cc | |
parent | 45addca9eb60a92acda39c8f811d25daa0cfb216 (diff) |
fix some 64bit warnings
git-svn-id: svn://localhost/trunk/ardour2@206 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 058db6d250..021c2935d2 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -1566,7 +1566,7 @@ Session::new_audio_track (int input_channels, int output_channels) } n++; - } while (n < (ULONG_MAX-1)); + } while (n < (UINT_MAX-1)); if (input_auto_connect & AutoConnectPhysical) { nphysical_in = n_physical_inputs; @@ -1673,7 +1673,7 @@ Session::new_audio_route (int input_channels, int output_channels) } n++; - } while (n < (ULONG_MAX-1)); + } while (n < (UINT_MAX-1)); try { bus = new Route (*this, bus_name, -1, -1, -1, -1); @@ -2153,7 +2153,7 @@ Session::new_region_name (string old) } - while (number < (ULONG_MAX-1)) { + while (number < (UINT_MAX-1)) { AudioRegionList::const_iterator i; string sbuf; @@ -2174,7 +2174,7 @@ Session::new_region_name (string old) } } - if (number != (ULONG_MAX-1)) { + if (number != (UINT_MAX-1)) { return buf; } |