b41e6b
diff -up firefox-78.2.0/tools/profiler/gecko/nsProfiler.cpp.zconst firefox-78.2.0/tools/profiler/gecko/nsProfiler.cpp
b41e6b
--- firefox-78.2.0/tools/profiler/gecko/nsProfiler.cpp.zconst	2020-09-09 20:29:17.489123431 +0200
b41e6b
+++ firefox-78.2.0/tools/profiler/gecko/nsProfiler.cpp	2020-09-09 20:30:09.544457350 +0200
b41e6b
@@ -523,7 +523,7 @@ nsProfiler::GetProfileDataAsGzippedArray
b41e6b
             stream.opaque = nullptr;
b41e6b
             stream.next_out = (Bytef*)outBuff.Elements();
b41e6b
             stream.avail_out = outBuff.Length();
b41e6b
-            stream.next_in = (z_const Bytef*)aResult.Data();
b41e6b
+            stream.next_in = (Bytef*)aResult.Data();
b41e6b
             stream.avail_in = aResult.Length();
b41e6b
 
b41e6b
             // A windowBits of 31 is the default (15) plus 16 for emitting a