[ardour-dev] potential problem on 64bit?

Joern Nettingsmeier nettings at folkwang-hochschule.de
Sat Jun 4 06:04:54 PDT 2005

hi everyone!

after staring at an ardour compile more closely than is probably good 
for me, i found a couple of those:

libs/ardour/audio_track.cc: In member function `void 
libs/ardour/audio_track.cc:427: warning: long long unsigned int format, 
id_t arg (arg 3)
libs/ardour/audio_track.cc: In member function `void
libs/ardour/audio_track.cc:807: warning: comparison is always true due 
to limited range of data type
libs/ardour/audio_track.cc:822: warning: comparison is always false due 
to limited range of data type

the code says:

uint32_t n = 1
while (n < ULONG_MAX) {

is this supposed to be correct on x86-64 ?

More information about the Ardour-Dev mailing list