breakpad/breakpad-20200605git.2757a2c9-gcc-11.2.0.patch

12 lines
689 B
Diff
Raw Normal View History

--- breakpad-20200605git.2757a2c9/src/client/linux/handler/exception_handler.cc.orig 2021-08-16 19:26:55.674699450 +0200
+++ breakpad-20200605git.2757a2c9/src/client/linux/handler/exception_handler.cc 2021-08-16 19:27:12.182069198 +0200
@@ -138,7 +138,7 @@
// SIGSTKSZ may be too small to prevent the signal handlers from overrunning
// the alternative stack. Ensure that the size of the alternative stack is
// large enough.
- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
+ static const unsigned kSigStackSize = std::max((long int)16384, SIGSTKSZ);
// Only set an alternative stack if there isn't already one, or if the current
// one is too small.