summaryrefslogtreecommitdiff
path: root/Build/source/texk/ps2pkm/curves.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ps2pkm/curves.c')
-rw-r--r--Build/source/texk/ps2pkm/curves.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/ps2pkm/curves.c b/Build/source/texk/ps2pkm/curves.c
index 77da96b5dfa..08b7a866d1d 100644
--- a/Build/source/texk/ps2pkm/curves.c
+++ b/Build/source/texk/ps2pkm/curves.c
@@ -182,7 +182,7 @@ the starting values. If this overflows, a 'long', we are in trouble:
#if defined(BITS)
#undef BITS
#endif
-#define BITS (sizeof(LONG)*8)
+#define BITS (sizeof(int32_t)*8)
#define HIGHTEST(p) (((p)>>(BITS-4)) != 0) /* includes sign bit */
#define TOOBIG(xy) ((xy < 0) ? HIGHTEST(-xy) : HIGHTEST(xy))