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 );