From 0b6bf2703a09587c1ed87b5350c04210fa8edcea Mon Sep 17 00:00:00 2001 From: culler Date: Sun, 21 Jul 2024 17:37:57 +0000 Subject: Accommodate Microsoft compilers which do not allow expressions in a literal constant. --- generic/tkObj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v0.12