From 82f5ca1ef05970fc271dc7e1cacaed8e27f65910 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Tue, 6 Aug 2013 21:49:03 +1000 Subject: runtime: change int32 to intgo in findnull and findnullw Update #6046. This CL just does findnull and findnullw. There are other functions to fix but doing them a few at a time will help isolate any (unlikely) breakages these changes bring up in architectures I can't test myself. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/12520043 --- src/pkg/runtime/runtime.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pkg/runtime/runtime.h') diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index e48b58a70e..ff3ecfaaaf 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -717,8 +717,8 @@ extern DebugVars runtime·debug; */ int32 runtime·strcmp(byte*, byte*); byte* runtime·strstr(byte*, byte*); -int32 runtime·findnull(byte*); -int32 runtime·findnullw(uint16*); +intgo runtime·findnull(byte*); +intgo runtime·findnullw(uint16*); void runtime·dump(byte*, int32); int32 runtime·runetochar(byte*, int32); int32 runtime·charntorune(int32*, uint8*, int32); -- cgit v1.3