Skip to content

Commit

Permalink
composite: ensure compilation on i386 (libvips#3750)
Browse files Browse the repository at this point in the history
Resolves: libvips#3749.
  • Loading branch information
kleisauke authored Nov 9, 2023
1 parent 19eba89 commit 5631b2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libvips/conversion/composite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ vips_composite_base_blend3(VipsCompositeSequence *seq,
break;

case VIPS_BLEND_MODE_OVERLAY:
f = B <= 0.5
f = B <= 0.5f
? 2 * A * B
: 1 - 2 * (1 - A) * (1 - B);
break;
Expand All @@ -890,7 +890,7 @@ vips_composite_base_blend3(VipsCompositeSequence *seq,
break;

case VIPS_BLEND_MODE_HARD_LIGHT:
f = A <= 0.5
f = A <= 0.5f
? 2 * A * B
: 1 - 2 * (1 - A) * (1 - B);
break;
Expand Down

0 comments on commit 5631b2e

Please sign in to comment.