Skip to content

Commit 8de04c7

Browse files
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
1 parent 50ca1a5 commit 8de04c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pkg/runtime/mgc0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2033,7 +2033,7 @@ runtime·memorydump(void)
20332033
void
20342034
runtime·gchelper(void)
20352035
{
2036-
int32 nproc;
2036+
uint32 nproc;
20372037

20382038
gchelperstart();
20392039

0 commit comments

Comments
 (0)