From: Ian Lance Taylor Date: Tue, 25 Mar 2014 12:18:08 +0000 (-0700) Subject: runtime: change nproc local variable to uint32 X-Git-Tag: go1.3beta1~287 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8de04c78b7cd27ff7aad787cb016314bc31365ba;p=gostls13.git runtime: change nproc local variable to uint32 The nproc and ndone fields are uint32. This makes the type consistent. LGTM=minux.ma R=golang-codereviews, minux.ma CC=golang-codereviews https://golang.org/cl/79340044 --- diff --git a/src/pkg/runtime/mgc0.c b/src/pkg/runtime/mgc0.c index a726fb41d1..87e0169933 100644 --- a/src/pkg/runtime/mgc0.c +++ b/src/pkg/runtime/mgc0.c @@ -2033,7 +2033,7 @@ runtime·memorydump(void) void runtime·gchelper(void) { - int32 nproc; + uint32 nproc; gchelperstart();