Skip to content

Commit 5fee599

Browse files
authored
bininspect: switch pointer to value receiver (#37950)
1 parent fd52a57 commit 5fee599

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/network/go/bininspect/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ const (
9090
)
9191

9292
// PointerSize gets the size, in bytes, of pointers on the architecture
93-
func (a *GoArch) PointerSize() uint {
94-
switch *a {
93+
func (a GoArch) PointerSize() uint {
94+
switch a {
9595
case GoArchX86_64:
9696
return 8
9797
case GoArchARM64:

0 commit comments

Comments
 (0)