diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-04-28 18:20:50 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-04-28 18:20:50 +0000 |
commit | b6e8be8f9d1c37daa14d2542196f83fa5c617781 (patch) | |
tree | 19ce4745597cf230c0e01f49b7eef4034eb6d678 | |
parent | 198e60227883a3508316c58f526340d18b1175b2 (diff) | |
download | netpbm-mirror-b6e8be8f9d1c37daa14d2542196f83fa5c617781.tar.gz netpbm-mirror-b6e8be8f9d1c37daa14d2542196f83fa5c617781.tar.xz netpbm-mirror-b6e8be8f9d1c37daa14d2542196f83fa5c617781.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3235 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-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); } |