Message ID | mcrfvg6xh4h.fsf@iant-glaptop.roam.corp.google.com |
---|---|
State | New |
Headers | show |
diff -r 6b61234c2552 libgo/runtime/go-unsafe-pointer.c --- a/libgo/runtime/go-unsafe-pointer.c Wed Sep 03 15:44:43 2014 -0700 +++ b/libgo/runtime/go-unsafe-pointer.c Fri Sep 05 07:41:55 2014 -0700 @@ -39,7 +39,7 @@ sizeof REFLECTION - 1 }; -const uintptr unsafe_Pointer_gc[] = {8, GC_APTR, 0, GC_END}; +const uintptr unsafe_Pointer_gc[] = {sizeof(void*), GC_APTR, 0, GC_END}; const struct __go_type_descriptor unsafe_Pointer = {