summaryrefslogtreecommitdiff
path: root/libs/audiographer
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2013-09-05 09:21:30 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2013-09-05 09:21:30 +0100
commit6daeba047ebba794a7e64d22667ad1206b5d450d (patch)
tree8fca71a01341bca505c203364fd72a06b2d7ff6d /libs/audiographer
parente14966e77823964ecb25966df72b74537548df1d (diff)
'libs/audiographer' - Try 'lrintf' instead of 'rintf' which isn't available in MSVC
Diffstat (limited to 'libs/audiographer')
-rw-r--r--libs/audiographer/private/gdither/gdither.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/audiographer/private/gdither/gdither.cc b/libs/audiographer/private/gdither/gdither.cc
index d2a237eb74..75e16d7863 100644
--- a/libs/audiographer/private/gdither/gdither.cc
+++ b/libs/audiographer/private/gdither/gdither.cc
@@ -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) {