Package: unace / 1.2b-12

004_64_bit_clean.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: b/declare.h
===================================================================
--- a/declare.h
+++ b/declare.h
@@ -15,12 +15,14 @@
 
 #else /* AMIGA */
 
-typedef unsigned short USHORT;
-typedef short          SHORT ;
-typedef unsigned short UWORD ;
-typedef short          WORD  ;
-typedef unsigned long  ULONG ;
-typedef long           LONG  ;
+#include <stdint.h>
+
+typedef uint16_t       USHORT;
+typedef int16_t        SHORT ;
+typedef uint16_t       UWORD ;
+typedef int16_t        WORD  ;
+typedef uint32_t       ULONG ;
+typedef int32_t        LONG  ;
 
 #endif  /* !AMIGA */