summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorculler <culler>2024-07-21 17:37:57 (GMT)
committerculler <culler>2024-07-21 17:37:57 (GMT)
commit0b6bf2703a09587c1ed87b5350c04210fa8edcea (patch)
treecb663dc88e8ab05749a0157cbe67cbc3102dfb37 /generic
parenta7042bc073cde4769058cf3d511ef07ef14493fd (diff)
downloadtk-0b6bf2703a09587c1ed87b5350c04210fa8edcea.zip
tk-0b6bf2703a09587c1ed87b5350c04210fa8edcea.tar.gz
tk-0b6bf2703a09587c1ed87b5350c04210fa8edcea.tar.bz2
Accommodate Microsoft compilers which do not allow expressions in a literal constant.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkObj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkObj.c b/generic/tkObj.c
index c82dd06..cb7030e 100644
--- a/generic/tkObj.c
+++ b/generic/tkObj.c
@@ -198,7 +198,7 @@ GetPixelsFromObjEx(
double d;
PixelRep *pixelPtr;
static const double bias[] = {
- 1.0, 10.0, 25.4, 25.4 / 72.0
+ 1.0L, 10.0L, 25.4L, 3.527777777777777777L /*25.4 / 72.0*/
};
if (objPtr->typePtr != &pixelObjType) {