[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] File output with FluidSynth API

From: David Henningsson
Subject: Re: [fluid-dev] File output with FluidSynth API
Date: Thu, 18 Mar 2010 01:59:59 +0100
User-agent: Thunderbird (X11/20090817)

Pedro Lopez-Cabanillas wrote:
> On Friday, March 12, 2010, Felix Krause wrote:
>> I see the problem; fluid_curtime casts the seconds from glong to an
>> unsigned int, which leads to an overflow - especially when you multiply the
>> seconds with 1000. Are you on a 64bit linux? That might be the reason why
>> you don't have problems with it - int has afaik 8 byte on 64bit, but only 4
>> on 32bit (I'm compiling 32bit). However, the code works on Windows compiled
>> as 32bit, but the time format could be another one there...
> Yes, it is an overflow. I've committed a fix in revision 286. Please test.

Thanks for fixing!

// David

reply via email to

[Prev in Thread] Current Thread [Next in Thread]