summaryrefslogtreecommitdiffstats
path: root/PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch
blob: cddf978cbf8b56bc2ef57b5b26dbc75d6e617ac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ruNb binutils-2.37.orig/libiberty/rust-demangle.c binutils-2.37/libiberty/rust-demangle.c
--- binutils-2.37.orig/libiberty/rust-demangle.c	2021-07-15 16:19:46.000000000 +0200
+++ binutils-2.37/libiberty/rust-demangle.c	2021-09-23 15:28:07.421338968 +0200
@@ -78,7 +78,7 @@
   uint recursion;
   /* Maximum number of times demangle_path may be called recursively.  */
 #define RUST_MAX_RECURSION_COUNT  1024
-#define RUST_NO_RECURSION_LIMIT   ((uint) -1)
+#define RUST_NO_RECURSION_LIMIT   ((unsigned int) -1)
 
   uint64_t bound_lifetime_depth;
 };