From 242217f8a308736e603d8abfec53fc3c0647bb7d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 14 Dec 2013 03:21:23 +1100 Subject: Code cleanup: float<>double promotion --- source/blender/imbuf/intern/divers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/imbuf/intern/divers.c b/source/blender/imbuf/intern/divers.c index a3647c7b45b..e33f4d40b55 100644 --- a/source/blender/imbuf/intern/divers.c +++ b/source/blender/imbuf/intern/divers.c @@ -132,7 +132,7 @@ MINLINE float dither_random_value(float s, float t) copy_v2_fl2(st, s, t); value = sinf(dot_v2v2(st, vec)) * 43758.5453f; - return value - floor(value); + return value - floorf(value); } /************************* Generic Buffer Conversion *************************/ -- cgit v1.2.3