From 86032e1c9898adc5fa906ea1d6c60a3645e65a72 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 5 Jan 2007 03:08:18 +0000 Subject: [PATCH] change win32 lrintf to match other archs --- stepmania/src/RageSurfaceUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageSurfaceUtils.cpp b/stepmania/src/RageSurfaceUtils.cpp index 5eeb7a80a5..92daa7d55b 100644 --- a/stepmania/src/RageSurfaceUtils.cpp +++ b/stepmania/src/RageSurfaceUtils.cpp @@ -453,7 +453,7 @@ void RageSurfaceUtils::BlitTransform( const RageSurface *src, RageSurface *dst, sum += v[1][i] * (1-weight_x) * (weight_y); sum += v[2][i] * (weight_x) * (1-weight_y); sum += v[3][i] * (weight_x) * (weight_y); - out[i] = (uint8_t) clamp( lrintf(sum), 0, 255 ); + out[i] = (uint8_t) clamp( lrintf(sum), 0L, 255L ); } /* If the source has no alpha, set the destination to opaque. */