fixes for 64 bit compilation - see comment

git-svn-id: svn://localhost/ardour2/branches/3.0@5422 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2009-07-24 01:30:50 +00:00
parent 162c48b843
commit 793372d7d4

View File

@ -164,7 +164,8 @@ SplineInterpolation::interpolate (int channel, nframes_t nframes, Sample *input,
// How many input samples we need
nframes_t n = ceil (double(nframes) * _speed + phase[channel]);
printf("======== n: %u nframes: %u input: %u, output: %u\n", n, nframes, uint32_t(input), uint32_t(output));
// hans - we run on 64bit systems too .... no casting pointer to a sized integer, please
printf("======== n: %u nframes: %u input: %p, output: %p\n", n, nframes, input, output);
if (n <= 3) {
return 0;