···466466{
467467 assert( sample_rate );
468468 assert( !clock_rate || clock_rate > sample_rate );
469469-469469+470470 int i;
471471472472 // 144 = 12 * (prescale * 2) = 12 * 6 * 2
473473 // prescale set to 6 by default
474474-474474+475475 int Frequency = (clock_rate ? (int)((FP_ONE_CLOCK * clock_rate) / sample_rate / 144) : (int)FP_ONE_CLOCK);
476476- if ( abs( Frequency - FP_ONE_CLOCK ) < 1 )
476476+ if ( llabs( Frequency - FP_ONE_CLOCK ) < 1 )
477477 Frequency = FP_ONE_CLOCK;
478478 impl->YM2612.TimerBase = Frequency;
479479-479479+480480 /* double Frequence = (double)Frequency / FP_ONE_CLOCK; */
481481482482 // Tableau TL :
+2-2
lib/rbcodec/codecs/speex.c
···201201 spx_int64_t avgpagelen = -1;
202202 spx_int64_t lastgranule = -1;
203203204204- if(abs(pos-curpos)>10000 && headerssize>0 && curoffset-headerssize>10000) {
204204+ if(llabs(pos-curpos)>10000 && headerssize>0 && curoffset-headerssize>10000) {
205205 /* if seeking for more that 10sec,
206206 headersize is known & more than 10kb is played,
207207 try to guess a place to seek from the number of
208208- bytes playe for this position, this works best when
208208+ bytes playe for this position, this works best when
209209 the bitrate is relativly constant.
210210 */
211211