13
0

'libs/audiographer' - Try 'lrintf' instead of 'rintf' which isn't available in MSVC

This commit is contained in:
John Emmas 2013-09-05 09:21:30 +01:00
parent e14966e778
commit 6daeba047e

View File

@ -292,7 +292,7 @@ inline static void gdither_innner_loop_fp(const GDitherType dt,
break;
}
clamped = rintf(tmp);
clamped = (double)lrintf(tmp);
if (clamped > clamp_u) {
clamped = clamp_u;
} else if (clamped < clamp_l) {