You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
575 B
13 lines
575 B
diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp
|
|
index abd8956..d9168af 100644
|
|
--- a/src/msw/dc.cpp
|
|
+++ b/src/msw/dc.cpp
|
|
@@ -2007,7 +2007,7 @@ void wxMSWDCImpl::RealizeScaleAndOrigin()
|
|
// Becaue only devExtX/logExtX ratio and devExtY/logExtY ratio are counted
|
|
// we can reduce the fractions to avoid large absolute numbers
|
|
// and possible arithmetic overflows.
|
|
- unsigned int gcd = CalcGCD(abs(devExtX), abs(logExtX));
|
|
+ int gcd = CalcGCD(abs(devExtX), abs(logExtX));
|
|
devExtX /= gcd;
|
|
logExtX /= gcd;
|
|
gcd = CalcGCD(abs(devExtY), abs(logExtY));
|