summaryrefslogtreecommitdiff
path: root/Build/source/texk/ps2pkm/arith.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ps2pkm/arith.h')
-rw-r--r--Build/source/texk/ps2pkm/arith.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/ps2pkm/arith.h b/Build/source/texk/ps2pkm/arith.h
index 9b0d4e063be..834f776dd50 100644
--- a/Build/source/texk/ps2pkm/arith.h
+++ b/Build/source/texk/ps2pkm/arith.h
@@ -34,22 +34,22 @@
#endif
#define SHORTSIZE (sizeof(SHORT)*8)
-#define LONGSIZE (SHORTSIZE*2)
+#define INT32SIZE (SHORTSIZE*2)
#define MAXSHORT ((1<<SHORTSIZE)-1)
/*END SHARED*/
/*SHARED*/
typedef struct {
- LONG high;
- ULONG low;
+ int32_t high;
+ uint32_t low;
} doublelong;
/*END SHARED*/
/*SHARED*/
#define DLrightshift(dl,N) { \
- dl.low = (dl.low >> N) + (((ULONG) dl.high) << (LONGSIZE - N)); \
+ dl.low = (dl.low >> N) + (((uint32_t) dl.high) << (INT32SIZE - N)); \
dl.high >>= N; \
}
@@ -58,8 +58,8 @@ typedef struct {
#include "types.h"
-void DLmult(doublelong *, ULONG, ULONG),
- DLdiv(doublelong *, ULONG),
+void DLmult(doublelong *, uint32_t, uint32_t),
+ DLdiv(doublelong *, uint32_t),
DLadd(doublelong *, doublelong *),
DLsub(doublelong *, doublelong *);