From 8de04c78b7cd27ff7aad787cb016314bc31365ba Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 25 Mar 2014 05:18:08 -0700 Subject: [PATCH] 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 --- src/pkg/runtime/mgc0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/mgc0.c b/src/pkg/runtime/mgc0.c index a726fb41d16..87e01699335 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();