double constant in a float computation in float bilinear

This commit is contained in:
Nicolas Robidoux 2011-01-12 20:50:18 +00:00
parent 2f52e4e007
commit e509a9172f
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ G_DEFINE_TYPE( VipsInterpolateBilinear, vips_interpolate_bilinear,
float Y = y - iy; \
float X = x - ix; \
\
float Yd = 1.0 - Y; \
float Yd = 1.0f - Y; \
\
float c4 = Y * X; \
float c2 = Yd * X; \