This commit is contained in:
oldme 2024-11-13 12:52:09 +00:00 committed by GitHub
commit e3dd570073
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,10 @@ func (w *Writer) WriteArg(v interface{}) error {
return w.uint(v) return w.uint(v)
case *uint64: case *uint64:
return w.uint(*v) return w.uint(*v)
case uintptr:
return w.uint(uint64(v))
case *uintptr:
return w.uint(uint64(*v))
case float32: case float32:
return w.float(float64(v)) return w.float(float64(v))
case *float32: case *float32: