From 16bea49ede776bd781515546e9a3df22c3dcfe06 Mon Sep 17 00:00:00 2001 From: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> Date: Sat, 6 Oct 2012 13:56:12 +0800 Subject: [PATCH] cmd/cc: map C int to int32 in Go defs R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6621052 --- src/cmd/cc/godefs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/cc/godefs.c b/src/cmd/cc/godefs.c index 4274c562658..7457bd00075 100644 --- a/src/cmd/cc/godefs.c +++ b/src/cmd/cc/godefs.c @@ -188,10 +188,10 @@ printtypename(Type *t) switch(t->etype) { case TINT: - Bprint(&outbuf, "int"); + Bprint(&outbuf, "int32"); break; case TUINT: - Bprint(&outbuf, "uint"); + Bprint(&outbuf, "uint32"); break; case TCHAR: Bprint(&outbuf, "int8");