summaryrefslogtreecommitdiff
path: root/libgo/runtime/string.goc
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/string.goc')
-rw-r--r--libgo/runtime/string.goc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/string.goc b/libgo/runtime/string.goc
index aa75628730e..fbbe393bbef 100644
--- a/libgo/runtime/string.goc
+++ b/libgo/runtime/string.goc
@@ -15,7 +15,7 @@ runtime_findnull(const byte *s)
}
String
-runtime_gostringnocopy(byte *str)
+runtime_gostringnocopy(const byte *str)
{
String s;