diff options
Diffstat (limited to 'Build/source/texk/dvipsk/drawPS.c')
-rw-r--r-- | Build/source/texk/dvipsk/drawPS.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipsk/drawPS.c b/Build/source/texk/dvipsk/drawPS.c index 4044f113a71..6ce17f6483e 100644 --- a/Build/source/texk/dvipsk/drawPS.c +++ b/Build/source/texk/dvipsk/drawPS.c @@ -289,7 +289,7 @@ flushDashedPath(int dotted, double inchesPerDash) integer dy = vconvPS(yy[i-1]) - vconvPS(yy[i]); /* Cast to double before multiplying; otherwise, can result in integer overflow and thus a negative result (eepic-nan.test). */ - double delta = sqrt((double) (dx) * dx + (double) dy * dy); + double delta = sqrt(((double) dx) * dx + ((double) dy) * dy); double ipd; int ndashes; |