]> Cypherpunks repositories - gostls13.git/commit
runtime: use type int to specify size for newarray
authorMartin Möhrmann <martisch@uos.de>
Wed, 20 Apr 2016 16:00:52 +0000 (18:00 +0200)
committerMartin Möhrmann <martisch@uos.de>
Thu, 21 Apr 2016 04:15:14 +0000 (04:15 +0000)
commit7e460e70d90295cf08ea627c0a0fff170aba5518
tree937e0ef584bd4a056fe1407c9cf88ece46db8cf7
parent4938d7b5fc06bbd137619eddd494a8cca288eb25
runtime: use type int to specify size for newarray

Consistently use type int for the size argument of
runtime.newarray, runtime.reflect_unsafe_NewArray
and reflect.unsafe_NewArray.

Change-Id: Ic77bf2dde216c92ca8c49462f8eedc0385b6314e
Reviewed-on: https://go-review.googlesource.com/22311
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Martin Möhrmann <martisch@uos.de>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/chan.go
src/runtime/hashmap.go
src/runtime/malloc.go