mirror of
https://github.com/opnsense/src.git
synced 2026-02-17 09:39:26 -05:00
Changing the printf specifier to %p fixed the build on powerpc64, but it
actually broke the amd64 build since the type of the value to be printed
is uint64_t on amd64.
Instead, keep the new %p specifier but cast the printed argument to a
uintptr_t and then to a void * in order for it to be valid type for
%p.
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Reported by: jrtc27@
MFC after: 5 days
MFC-with:
|
||
|---|---|---|
| .. | ||
| fbsd_kcompat.c | ||
| fbsd_kcompat.h | ||
| ice_devids.h | ||
| icrdma.c | ||
| icrdma_hw.c | ||
| icrdma_hw.h | ||
| irdma-abi.h | ||
| irdma.h | ||
| irdma_cm.c | ||
| irdma_cm.h | ||
| irdma_ctrl.c | ||
| irdma_defs.h | ||
| irdma_hmc.c | ||
| irdma_hmc.h | ||
| irdma_hw.c | ||
| irdma_kcompat.c | ||
| irdma_main.h | ||
| irdma_pble.c | ||
| irdma_pble.h | ||
| irdma_protos.h | ||
| irdma_puda.c | ||
| irdma_puda.h | ||
| irdma_type.h | ||
| irdma_uda.c | ||
| irdma_uda.h | ||
| irdma_uda_d.h | ||
| irdma_uk.c | ||
| irdma_user.h | ||
| irdma_utils.c | ||
| irdma_verbs.c | ||
| irdma_verbs.h | ||
| irdma_ws.c | ||
| irdma_ws.h | ||
| osdep.h | ||