diff options
-rw-r--r-- | Alc/midi/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c index cfeda001..25dd19d9 100644 --- a/Alc/midi/base.c +++ b/Alc/midi/base.c @@ -206,7 +206,7 @@ extern inline void MidiSynth_reset(MidiSynth *self); ALuint64 MidiSynth_getTime(const MidiSynth *self) { ALuint64 time = self->LastEvtTime + (self->SamplesSinceLast/self->SamplesPerTick); - return clampu(time, self->LastEvtTime, self->NextEvtTime); + return clampu64(time, self->LastEvtTime, self->NextEvtTime); } extern inline ALuint64 MidiSynth_getNextEvtTime(const MidiSynth *self); |