summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/char_routines.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/omegafonts/char_routines.c')
-rw-r--r--Build/source/texk/web2c/omegafonts/char_routines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/omegafonts/char_routines.c b/Build/source/texk/web2c/omegafonts/char_routines.c
index 72c880eb61e..2b0fe601ac5 100644
--- a/Build/source/texk/web2c/omegafonts/char_routines.c
+++ b/Build/source/texk/web2c/omegafonts/char_routines.c
@@ -890,7 +890,7 @@ compute_check_sum(void)
continue;
wd = lval(entry->indices[C_WD]);
if (design_units != UNITY)
- wd = zround(((double)wd) / ((double)design_units) * 1048576.0);
+ wd = zround((wd / (double)design_units) * 1048576.0);
wd += (c + 4) * 0x400000; /* this should be positive */
c0 = (c0 + c0 + wd) % 255;
c1 = (c1 + c1 + wd) % 253;