casting hell

This commit is contained in:
JonDeen 2015-06-09 17:43:08 +02:00
parent 77b779dacb
commit 3591623a12
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ vips_sRGB2HSV_line( VipsColour *colour, VipsPel *out, VipsPel **in, int width )
q[0] = (unsigned char) ((secondary_diff / (float) delta) + wrap_around_hue);
}
q[1] = (((float) delta / (float) c_max)*256.0f);
q[1] = (((float) delta / (float) c_max)*256);
}
p += 3;