summaryrefslogtreecommitdiff
path: root/Build/source/texk/ps2pkm/regions.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ps2pkm/regions.c')
-rw-r--r--Build/source/texk/ps2pkm/regions.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Build/source/texk/ps2pkm/regions.c b/Build/source/texk/ps2pkm/regions.c
index 6d778b9e8d4..a5979d9681c 100644
--- a/Build/source/texk/ps2pkm/regions.c
+++ b/Build/source/texk/ps2pkm/regions.c
@@ -308,11 +308,8 @@ if the xvalues are long aligned by ANDing the address with the
(sizeof(long) - 1)--if non zero, the xvalues are not aligned well. We
set 'iy' to the ymin value that would give us good alignment:
*/
-#if defined (__alpha)
- iy = ymin - (((long) xvalues) & (sizeof(LONG) - 1)) / sizeof(pel);
-#else
- iy = ymin - (((int) xvalues) & (sizeof(LONG) - 1)) / sizeof(pel);
-#endif
+ iy = ymin - (((unsigned long) xvalues) & (sizeof(LONG) - 1)) / sizeof(pel);
+
r = (struct edgelist *)Allocate(sizeof(struct edgelist), &template,
(ymax - iy) * sizeof(pel));