summaryrefslogtreecommitdiffstats
path: root/generic/tkbltGrPSOutput.h
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2017-07-21 09:20:28 (GMT)
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2017-07-21 11:40:48 (GMT)
commitf14d9dc7c790f40e897bf4f3afaacdde6509adac (patch)
tree9decc8ccfb18a38a94568feea8c9dc66e4ff6fd2 /generic/tkbltGrPSOutput.h
parent095e27e5a9b983b7a20ea6bc4b9f4989ddb9a160 (diff)
downloadblt-f14d9dc7c790f40e897bf4f3afaacdde6509adac.zip
blt-f14d9dc7c790f40e897bf4f3afaacdde6509adac.tar.gz
blt-f14d9dc7c790f40e897bf4f3afaacdde6509adac.tar.bz2
Enforce explicit downcasting of numeric values
As part of the change, upgrade tkblt internal structures from short/float to int/double, as those are artifacts of the legacy code relying on X. Downcast to short at the latest stage: when interfacing with X.
Diffstat (limited to 'generic/tkbltGrPSOutput.h')
-rw-r--r--generic/tkbltGrPSOutput.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkbltGrPSOutput.h b/generic/tkbltGrPSOutput.h
index c54e771..04bb2fd 100644
--- a/generic/tkbltGrPSOutput.h
+++ b/generic/tkbltGrPSOutput.h
@@ -65,7 +65,7 @@ namespace Blt {
void print3DRectangle(Tk_3DBorder, double, double, int, int, int, int);
void fillRectangle(double, double, int, int);
- void fillRectangles(XRectangle*, int);
+ void fillRectangles(Rectangle*, int);
void fill3DRectangle(Tk_3DBorder, double, double, int, int, int, int);
void fillPolygon(Point2d*, int);