aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/string.goc
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2013-08-06 21:49:03 +1000
committerRob Pike <r@golang.org>2013-08-06 21:49:03 +1000
commit82f5ca1ef05970fc271dc7e1cacaed8e27f65910 (patch)
treeef3f2e422243e137c401926c9e8f6c44d3923d56 /src/pkg/runtime/string.goc
parent429a67e30033935d45e368d32b56dedb8c010fee (diff)
downloadgo-82f5ca1ef05970fc271dc7e1cacaed8e27f65910.tar.xz
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
Diffstat (limited to 'src/pkg/runtime/string.goc')
-rw-r--r--src/pkg/runtime/string.goc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/runtime/string.goc b/src/pkg/runtime/string.goc
index 15d690a921..dccb97128a 100644
--- a/src/pkg/runtime/string.goc
+++ b/src/pkg/runtime/string.goc
@@ -10,10 +10,10 @@ package runtime
String runtime·emptystring;
-int32
+intgo
runtime·findnull(byte *s)
{
- int32 l;
+ intgo l;
if(s == nil)
return 0;
@@ -22,10 +22,10 @@ runtime·findnull(byte *s)
return l;
}
-int32
+intgo
runtime·findnullw(uint16 *s)
{
- int32 l;
+ intgo l;
if(s == nil)
return 0;