fixing jar so it compiles on vs2010

This commit is contained in:
NishiOwO 2025-04-20 15:59:14 +09:00
parent f2ede0e025
commit c2d48d66ad
No known key found for this signature in database
GPG Key ID: 27EF69B208EB9343

View File

@ -1381,7 +1381,7 @@ static void jar_xm_volume_slide(jar_xm_channel_context_t* ch, gf_uint8_t rawval)
}
}
static float jar_xm_envelope_lerp(jar_xm_envelope_point_t* restrict a, jar_xm_envelope_point_t* restrict b, gf_uint16_t pos) {
static float jar_xm_envelope_lerp(jar_xm_envelope_point_t* a, jar_xm_envelope_point_t* b, gf_uint16_t pos) {
/* Linear interpolation between two envelope points */
if(pos <= a->frame) return a->value;
else if(pos >= b->frame)