13 lines
538 B
Diff
13 lines
538 B
Diff
diff --git src/inspector_agent.cc src/inspector_agent.cc
|
|
index fdc8819..a4c4d52 100644
|
|
--- src/inspector_agent.cc
|
|
+++ src/inspector_agent.cc
|
|
@@ -176,7 +176,7 @@ void SendProtocolJson(InspectorSocket* socket) {
|
|
PROTOCOL_JSON[0] * 0x10000u +
|
|
PROTOCOL_JSON[1] * 0x100u +
|
|
PROTOCOL_JSON[2];
|
|
- strm.next_in = PROTOCOL_JSON + 3;
|
|
+ strm.next_in = (Bytef *)(PROTOCOL_JSON + 3);
|
|
strm.avail_in = sizeof(PROTOCOL_JSON) - 3;
|
|
std::vector<char> data(kDecompressedSize);
|
|
strm.next_out = reinterpret_cast<Byte*>(&data[0]);
|