[tor-commits] [tor-browser/tor-browser-78.14.0esr-11.0-1] Bug 1719146 - Use size_t in breakpad's Linux exception handler. r=gsvelto
sysrqb at torproject.org
sysrqb at torproject.org
Tue Sep 7 21:56:55 UTC 2021
commit 3758b15b418a3df147cf804f6dfb14276c6cd073
Author: Emilio Cobos Ãlvarez <emilio at crisal.io>
Date: Mon Jul 5 11:59:34 2021 +0000
Bug 1719146 - Use size_t in breakpad's Linux exception handler. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D119083
---
.../crashreporter/breakpad-client/linux/handler/exception_handler.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc b/toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc
index c8509c2d5363..1365935ba51c 100644
--- a/toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc
+++ b/toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc
@@ -145,7 +145,7 @@ void InstallAlternateStackLocked() {
// 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 size_t kSigStackSize = std::max(size_t(16384), size_t(SIGSTKSZ));
// Only set an alternative stack if there isn't already one, or if the current
// one is too small.
More information about the tor-commits
mailing list