fixes for 64 bit compilation - see comment
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 24 Jul 2009 01:30:50 +0000 (01:30 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 24 Jul 2009 01:30:50 +0000 (01:30 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5422 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/interpolation.cc

index 244ababb51f602786ec1d682b6c0a5af946fde67..ed27d05d2a23dab63258020a987f0a3e35247488 100644 (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;