]> git.ipfire.org Git - thirdparty/cups.git/commit
<rdar://problem/14065748> pwgMediaForPWG: roll_max_36.1025x3622.0472in becomes 91700...
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 5 Jun 2013 17:25:22 +0000 (17:25 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 5 Jun 2013 17:25:22 +0000 (17:25 +0000)
commit4ffc419764a736cd489c21dd6895b2bf162cbf4e
tree281900679f19bd0f0fec31322d726426f00017ae
parent766a82295781e5923fda8329c981959b7b77558b
<rdar://problem/14065748> pwgMediaForPWG: roll_max_36.1025x3622.0472in becomes 91700 x 180568 instead of 91700 x 9199999

Convert fractional portion separately to avoid integer overflow.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11011 a1ca3aef-8c08-0410-bb20-df032aa958be
cups/pwg-media.c
cups/testpwg.c