Attempt to fix sign error in declicking logic for 64-bit systems.
This commit is contained in:
parent
94310eecfa
commit
bc14e06320
|
@ -168,7 +168,7 @@ Audio_Region::read ( sample_t *buf, nframes_t pos, nframes_t nframes, int channe
|
||||||
/* do fade in if necessary */
|
/* do fade in if necessary */
|
||||||
if ( sofs < fade.length )
|
if ( sofs < fade.length )
|
||||||
{
|
{
|
||||||
const long d = 0 - sofs;
|
const long d = 0L - (long)sofs;
|
||||||
|
|
||||||
assert( cnt <= nframes );
|
assert( cnt <= nframes );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue