nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/third_party/breakpad/src/client/linux/handler/exception_handler.cc b/third_party/breakpad/src/client/linux/handler/exception_handler.cc
2index ca353c4099..499be0a986 100644
3--- a/third_party/breakpad/src/client/linux/handler/exception_handler.cc
4+++ b/third_party/breakpad/src/client/linux/handler/exception_handler.cc
5@@ -138,7 +138,7 @@ void InstallAlternateStackLocked() {
6 // SIGSTKSZ may be too small to prevent the signal handlers from overrunning
7 // the alternative stack. Ensure that the size of the alternative stack is
8 // large enough.
9- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
10+ const unsigned kSigStackSize = std::max<unsigned>(16384, SIGSTKSZ);
11
12 // Only set an alternative stack if there isn't already one, or if the current
13 // one is too small.