test cast

This commit is contained in:
JonDeen 2015-06-09 17:41:14 +02:00
parent 57709255e1
commit 77b779dacb
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] = (unsigned char) ((float) delta / (float) c_max)*256;
q[1] = (((float) delta / (float) c_max)*256.0f);
}
p += 3;