mirror of
https://github.com/golang/go
synced 2024-11-22 17:35:19 -07:00
fix SliceHeader: len and cap are int, not uint32
R=r,iant DELTA=2 (0 added, 0 deleted, 2 changed) OCL=32215 CL=32222
This commit is contained in:
parent
a225706e5f
commit
22ea3f9e49
@ -519,8 +519,8 @@ func (v *ArrayValue) Elem(i int) Value {
|
||||
// runtime representation of slice
|
||||
type SliceHeader struct {
|
||||
Data uintptr;
|
||||
Len uint32;
|
||||
Cap uint32;
|
||||
Len int;
|
||||
Cap int;
|
||||
}
|
||||
|
||||
// A SliceValue represents a slice.
|
||||
|
Loading…
Reference in New Issue
Block a user