aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/bytes
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-11-06 18:28:21 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-11-06 18:28:21 +0000
commitfb3f38da2a7d45b88c838b3ac55fe40479961790 (patch)
tree89ff7fdde0dc578287fb6c80a46652eaf78f3ddf /libgo/go/bytes
parent855a44ee8f73b4c53a0bad7780baa85d043b890f (diff)
downloadgcc-fb3f38da2a7d45b88c838b3ac55fe40479961790.zip
gcc-fb3f38da2a7d45b88c838b3ac55fe40479961790.tar.gz
gcc-fb3f38da2a7d45b88c838b3ac55fe40479961790.tar.bz2
compiler, libgo: Fixes to prepare for 64-bit int.
From-SVN: r193254
Diffstat (limited to 'libgo/go/bytes')
-rw-r--r--libgo/go/bytes/indexbyte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/bytes/indexbyte.c b/libgo/go/bytes/indexbyte.c
index 9c72e61..1f4399c 100644
--- a/libgo/go/bytes/indexbyte.c
+++ b/libgo/go/bytes/indexbyte.c
@@ -13,11 +13,11 @@
We deliberately don't split the stack in case it does call the
library function, which shouldn't need much stack space. */
-int IndexByte (struct __go_open_array, char)
+intgo IndexByte (struct __go_open_array, char)
asm ("bytes.IndexByte")
__attribute__ ((no_split_stack));
-int
+intgo
IndexByte (struct __go_open_array s, char b)
{
char *p;