From bc14e0632087491c43ac146e35438403e29803e7 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Thu, 21 Jan 2010 23:29:21 -0600 Subject: [PATCH] Attempt to fix sign error in declicking logic for 64-bit systems. --- Timeline/Engine/Audio_Region.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Timeline/Engine/Audio_Region.C b/Timeline/Engine/Audio_Region.C index 63d1874..6254f79 100644 --- a/Timeline/Engine/Audio_Region.C +++ b/Timeline/Engine/Audio_Region.C @@ -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 );