slackbuilds_ponce/development/4th/02-to_preserve_32bit_compatibility.patch
Zbigniew Baniewski 9bd2d4882c development/4th: Updated for version 3.64.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
2022-09-08 22:20:33 +01:00

19 lines
537 B
Diff

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
-#define CELL_MIN LONG_MIN
-#define CELL_MAX LONG_MAX
+#define CELL_MIN INT_MIN
+#define CELL_MAX INT_MAX
#define SYMLEN 24 /* length of word name (incl. \0) */
-typedef long cell;
+typedef int cell;
typedef unsigned char unit;
typedef struct {