02-to_preserve_32bit_compatibility.patch 437 B

123456789101112131415
  1. diff -Nur 4th-3.62.5-unix/sources/4th.h 4th-3.62.5-unix.new/sources/4th.h
  2. --- 4th-3.62.5-unix/sources/4th.h 2012-04-09 18:15:03.000000000 +0200
  3. +++ 4th-3.62.5-unix.new/sources/4th.h 2014-04-13 16:23:07.122971512 +0200
  4. @@ -62,8 +62,8 @@
  5. #define M4BADNAM 28
  6. #define M4CABORT 29
  7. -#define CELL_MIN LONG_MIN
  8. -#define CELL_MAX LONG_MAX
  9. +#define CELL_MIN INT_MIN
  10. +#define CELL_MAX INT_MAX
  11. typedef long cell;
  12. typedef unsigned char unit;