diff --git a/internal/proto/writer.go b/internal/proto/writer.go index 78595cc4..a9e0c5a5 100644 --- a/internal/proto/writer.go +++ b/internal/proto/writer.go @@ -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)) case float32: return w.float(float64(v)) case *float32: