summaryrefslogtreecommitdiffstats
path: root/toolkit/crashreporter/breakpad-patches/30-sign-compare.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/crashreporter/breakpad-patches/30-sign-compare.patch')
-rw-r--r--toolkit/crashreporter/breakpad-patches/30-sign-compare.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolkit/crashreporter/breakpad-patches/30-sign-compare.patch b/toolkit/crashreporter/breakpad-patches/30-sign-compare.patch
new file mode 100644
index 0000000000..5fbf075810
--- /dev/null
+++ b/toolkit/crashreporter/breakpad-patches/30-sign-compare.patch
@@ -0,0 +1,11 @@
+--- a/src/client/windows/crash_generation/crash_generation_server.cc
++++ b/src/client/windows/crash_generation/crash_generation_server.cc
+@@ -954,7 +954,7 @@ bool CrashGenerationServer::GenerateDump(const ClientInfo& client,
+ }
+
+ // Allocate AppMemory instances for exception context.
+- for (int i = 0; i < kExceptionAppMemoryRegions; i++) {
++ for (size_t i = 0; i < kExceptionAppMemoryRegions; i++) {
+ AppMemory app_memory;
+ app_memory.ptr = reinterpret_cast<ULONG64>(nullptr);
+ app_memory.length = 0;