Just have been told fmodf is C99, so I replaced it with fmod and casts...

This commit is contained in:
Alexander Ewering
2005-11-08 12:56:32 +00:00
parent bd6d3d1439
commit ece7963545

View File

@@ -1722,7 +1722,7 @@ StripElem *give_stripelem(Sequence *seq, int cfra)
}
if (seq->strobe < 1.0) seq->strobe = 1.0;
if (seq->strobe > 1.0) {
nr -= (int)fmodf(nr, seq->strobe);
nr -= (int)fmod((double)nr, (double)seq->strobe);
}
se+= nr; /* don't get confused by the increment, this is the same as strip->stripdata[nr], which works on some compilers...*/