diff options
Diffstat (limited to 'editor/pamflip')
-rw-r--r-- | editor/pamflip/pamflip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/pamflip/pamflip.c b/editor/pamflip/pamflip.c index a9d3a72a..bc752208 100644 --- a/editor/pamflip/pamflip.c +++ b/editor/pamflip/pamflip.c @@ -222,8 +222,8 @@ xformDimensions(struct XformCore const xform, E.g. if it's a 90 degree rotation of a 10 x 20 image, the output is a 20 x 10 image. -----------------------------------------------------------------------------*/ - *outColsP = abs(xform.a * inCols + xform.c * inRows); - *outRowsP = abs(xform.b * inCols + xform.d * inRows); + *outColsP = abs(xform.a * (int)inCols + xform.c * (int)inRows); + *outRowsP = abs(xform.b * (int)inCols + xform.d * (int)inRows); } |