Attempt to fix sign error in declicking logic for 64-bit systems.

pull/3/head
Jonathan Moore Liles 2010-01-21 23:29:21 -06:00
parent 94310eecfa
commit bc14e06320
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ Audio_Region::read ( sample_t *buf, nframes_t pos, nframes_t nframes, int channe
/* do fade in if necessary */
if ( sofs < fade.length )
{
const long d = 0 - sofs;
const long d = 0L - (long)sofs;
assert( cnt <= nframes );