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:
Emilio Cobos Álvarez 2021-07-05 11:59:34 +00:00
Родитель 90157073c1
Коммит e150976c0e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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.