[ardour-dev] problems with SSE code for x86_64
Paul Davis
paul at linuxaudiosystems.com
Mon Feb 6 12:08:36 PST 2006
On Mon, 2006-02-06 at 19:35 +0000, John Rigg wrote:
> On Mon, Feb 06, 2006 at 08:43:05AM -0500, Paul Davis wrote:
> > (not the asm itself, but the context in which its used)
> >
> > libs/ardour/mix.cc: In function 'float debug_compute_peak
> > (ARDOUR::Sample*, jack_nframes_t, float)':
> > libs/ardour/mix.cc:33: error: cast from 'ARDOUR::Sample*' to 'int' loses
> > precision
>
> Changing int to long int fixes this on x86_64 and should still work on
> x86 (int is 32 bits on x86_64, long int is 64 bits; on x86 they're both 32).
> That's why I did that in my patch ;-)
i think we want to use intptr_t instead.
and john, while i remember: its been a condition of accepting code in
ardour's codebase that its author transfers copyright to me. this is
designed to make it feasible to negotiate copyright issues simply if
there is ever a need to do in the future. do you consent to this
transfer?
--p
More information about the Ardour-Dev
mailing list