diff options
Diffstat (limited to 'development/4th/02-to_preserve_32bit_compatibility.patch')
-rw-r--r-- | development/4th/02-to_preserve_32bit_compatibility.patch | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/development/4th/02-to_preserve_32bit_compatibility.patch b/development/4th/02-to_preserve_32bit_compatibility.patch index 3c091deb2e..32c7f6a0ba 100644 --- a/development/4th/02-to_preserve_32bit_compatibility.patch +++ b/development/4th/02-to_preserve_32bit_compatibility.patch @@ -1,7 +1,7 @@ -diff -Nur 4th-3.62.5-unix/sources/4th.h 4th-3.62.5-unix.new/sources/4th.h ---- 4th-3.62.5-unix/sources/4th.h 2012-04-09 18:15:03.000000000 +0200 -+++ 4th-3.62.5-unix.new/sources/4th.h 2014-04-13 16:23:07.122971512 +0200 -@@ -62,8 +62,8 @@ +diff -Nur 4th-3.64.1/sources/4th.h 4th-3.64.1.new/sources/4th.h +--- 4th-3.64.1/sources/4th.h 2019-03-17 17:32:08.000000000 +0100 ++++ 4th-3.64.1.new/sources/4th.h 2022-01-20 19:38:11.022969349 +0100 +@@ -62,12 +62,12 @@ #define M4BADNAM 28 #define M4CABORT 29 @@ -10,5 +10,10 @@ diff -Nur 4th-3.62.5-unix/sources/4th.h 4th-3.62.5-unix.new/sources/4th.h +#define CELL_MIN INT_MIN +#define CELL_MAX INT_MAX - typedef long cell; + #define SYMLEN 24 /* length of word name (incl. \0) */ + +-typedef long cell; ++typedef int cell; typedef unsigned char unit; + + typedef struct { |