summaryrefslogtreecommitdiff
path: root/libgo/runtime/go-byte-array-to-string.c
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2011-04-13 21:00:59 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-04-13 21:00:59 +0000
commitb39c10b81306aeeefc066ec7b1f0e23de9448c21 (patch)
tree32a57ad9ca89c95394a45e92649f097c96b50924 /libgo/runtime/go-byte-array-to-string.c
parent516d9427ed538547a182833b2cf16f557c932710 (diff)
downloadgcc-b39c10b81306aeeefc066ec7b1f0e23de9448c21.tar.gz
Unify handling of runtime support functions.
This introduces the new approach, and rewrites the lowering code which uses runtime functions. The code which calls runtime functions at GENERIC conversion time is not yet rewritten. From-SVN: r172396
Diffstat (limited to 'libgo/runtime/go-byte-array-to-string.c')
-rw-r--r--libgo/runtime/go-byte-array-to-string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-byte-array-to-string.c b/libgo/runtime/go-byte-array-to-string.c
index 1b9ac2d7964..ab9e28388bc 100644
--- a/libgo/runtime/go-byte-array-to-string.c
+++ b/libgo/runtime/go-byte-array-to-string.c
@@ -9,7 +9,7 @@
#include "malloc.h"
struct __go_string
-__go_byte_array_to_string (const void* p, size_t len)
+__go_byte_array_to_string (const void* p, int len)
{
const unsigned char *bytes;
unsigned char *retdata;