Browse Source

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

tags/non-daw-v1.1.0
Jonathan Moore Liles 15 years ago
parent
commit
bc14e06320
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Timeline/Engine/Audio_Region.C

+ 1
- 1
Timeline/Engine/Audio_Region.C 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 */ /* 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…
Cancel
Save