Avoid more conversions to double
diff --git a/iccread.c b/iccread.c
index 88ef537..f8c50f4 100644
--- a/iccread.c
+++ b/iccread.c
@@ -502,12 +502,12 @@
 
 static uint16_t float_to_u8Fixed8Number(float a)
 {
-	if (a > (255. + 255./256))
+	if (a > (255.f + 255.f/256))
 		return 0xffff;
-	else if (a < 0.)
+	else if (a < 0.f)
 		return 0;
 	else
-		return floor(a*256. + .5);
+		return floor(a*256.f + .5f);
 }
 
 static struct curveType *curve_from_gamma(float gamma)