mirror of https://github.com/go-redis/redis.git
Merge 4e99ec9e63
into 930d904205
This commit is contained in:
commit
e3dd570073
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue