зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1719146 - Use size_t in breakpad's Linux exception handler. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D119083
This commit is contained in:
Родитель
90157073c1
Коммит
e150976c0e
|
@ -148,7 +148,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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче