]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: change nproc local variable to uint32
authorIan Lance Taylor <iant@golang.org>
Tue, 25 Mar 2014 12:18:08 +0000 (05:18 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 25 Mar 2014 12:18:08 +0000 (05:18 -0700)
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

src/pkg/runtime/mgc0.c

index a726fb41d167555ab1745159837f2bb9cfb32d92..87e016993358c0572d58900ced3afc327adacd23 100644 (file)
@@ -2033,7 +2033,7 @@ runtime·memorydump(void)
 void
 runtime·gchelper(void)
 {
-       int32 nproc;
+       uint32 nproc;
 
        gchelperstart();