diff options
author | Ian Lance Taylor <iant@golang.org> | 2022-10-26 17:23:42 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2022-10-27 17:12:57 -0700 |
commit | 0a2984dd10598ba091b8e992145998fb1640a9b8 (patch) | |
tree | a2975255a183f1a29d1b864c8c82d10516ca10b6 /libgo/aclocal.m4 | |
parent | fc01cfa96786ba94077e45c475768f38592e63cf (diff) | |
download | gcc-0a2984dd10598ba091b8e992145998fb1640a9b8.zip gcc-0a2984dd10598ba091b8e992145998fb1640a9b8.tar.gz gcc-0a2984dd10598ba091b8e992145998fb1640a9b8.tar.bz2 |
runtime: use _libgo_off_t_type when calling C mmap
The last argument to the C mmap function is type off_t, not uintptr.
On some 32-bit systems, off_t is larger than uintptr.
Based on patch by Sören Tempel.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/445735
Diffstat (limited to 'libgo/aclocal.m4')
0 files changed, 0 insertions, 0 deletions