opnsense-src/lib/libnetmap
Adrian Chadd e26516e664 [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

(cherry picked from commit 26c29e743b)
2021-08-17 07:30:36 +02:00
..
libnetmap.h MFC r366011 2021-08-17 07:30:34 +02:00
Makefile MFC r364936, r365023 2021-08-17 07:30:33 +02:00
nmctx-pthreads.c MFC r364936, r365023 2021-08-17 07:30:33 +02:00
nmctx.c MFC r364936, r365023 2021-08-17 07:30:33 +02:00
nmport.c MFC r366011 2021-08-17 07:30:34 +02:00
nmreq.c [libnetmap] Fix 32 bit compilation under gcc-6.4 2021-08-17 07:30:36 +02:00