From 776f27a67f26c795ba8c27a4e69525382b9379c3 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 1 Nov 2012 03:02:13 +0000 Subject: compiler, runtime: More steps toward separating int and intgo. From-SVN: r193059 --- libgo/runtime/go-unsafe-pointer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libgo/runtime/go-unsafe-pointer.c') diff --git a/libgo/runtime/go-unsafe-pointer.c b/libgo/runtime/go-unsafe-pointer.c index cda5936..e3a55b4 100644 --- a/libgo/runtime/go-unsafe-pointer.c +++ b/libgo/runtime/go-unsafe-pointer.c @@ -6,7 +6,7 @@ #include -#include "go-string.h" +#include "runtime.h" #include "go-type.h" /* This file provides the type descriptor for the unsafe.Pointer type. @@ -26,9 +26,9 @@ struct field_align /* The reflection string. */ #define REFLECTION "unsafe.Pointer" -static const struct __go_string reflection_string = +static const String reflection_string = { - (const unsigned char *) REFLECTION, + (const byte *) REFLECTION, sizeof REFLECTION - 1 }; @@ -65,9 +65,9 @@ extern const struct __go_ptr_type pointer_unsafe_Pointer /* The reflection string. */ #define PREFLECTION "*unsafe.Pointer" -static const struct __go_string preflection_string = +static const String preflection_string = { - (const unsigned char *) PREFLECTION, + (const byte *) PREFLECTION, sizeof PREFLECTION - 1, }; -- cgit v1.1