diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2020-11-02 15:01:37 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2020-11-02 15:01:37 +0000 |
commit | 26c29e743bbdbb82762540f72d4bc449bae2e092 (patch) | |
tree | 9d8a88f01e8a76e92da69a6a429c3deb31457a62 /usr.bin | |
parent | 44a1b2f07b0ea5ef1ccc64c1ee2b54569e8a357a (diff) | |
download | src-26c29e743bbdbb82762540f72d4bc449bae2e092.tar.gz src-26c29e743bbdbb82762540f72d4bc449bae2e092.zip |
[libnetmap] Fix 32 bit compilation under gcc-6.4
Use uintptr_t to cast a uint64_t to a pointer type.
Yeah, it isn't technically correct for platforms with pointers
> 64 bits, but it's fine here.
This fixes 32 bit compat library builds on amd64 and also
mips32 builds.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D26790
Notes
Notes:
svn path=/head/; revision=367273
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions