Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions internal/proto/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ func (w *Writer) WriteArg(v interface{}) error {
return w.uint(v)
case *uint64:
return w.uint(*v)
case uintptr:
return w.uint(uint64(v))
case *uintptr:
return w.uint(uint64(*v))
Comment on lines +147 to +148
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oldme-git what will happen if the pointer is nil ?

case float32:
return w.float(float64(v))
case *float32:
Expand Down
Loading