Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit 39a8a55

Browse files
jasonborgcopybara-github
authored andcommitted
Fix build warning.
PiperOrigin-RevId: 373182153 Change-Id: If441ff7a84b4097a04477c4ec69b374cd788e645
1 parent 56d8140 commit 39a8a55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agent/class_file.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ class ClassFile {
320320

321321
struct Instruction {
322322
Instruction() {
323-
memset(this, 0, sizeof(*this));
323+
memset(reinterpret_cast<void*>(this), 0, sizeof(*this));
324324
}
325325

326326
// Instruction opcode.

0 commit comments

Comments
 (0)