Skip to content

Commit 4e99ec9

Browse files
committed
up
1 parent 00d9848 commit 4e99ec9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/proto/writer.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ func (w *Writer) WriteArg(v interface{}) error {
109109
return w.uint(v)
110110
case *uint64:
111111
return w.uint(*v)
112+
case uintptr:
113+
return w.uint(uint64(v))
114+
case *uintptr:
115+
return w.uint(uint64(*v))
112116
case float32:
113117
return w.float(float64(v))
114118
case *float32:

0 commit comments

Comments
 (0)