
23 Apr
2020
23 Apr
'20
4:18 p.m.
On Tue, Apr 21, 2020 at 7:28 AM mhorne@freebsd.org wrote:
From: Mitchell Horne mhorne@FreeBSD.org
search_hint is defined in assembly as a .long, and is intended to hold the initial stack pointer as a hint to the api_search_sig() routine. Convert this to a uintptr_t, to avoid possible truncation on 64-bit systems.
Signed-off-by: Mitchell Horne mhorne@FreeBSD.org
examples/api/glue.c | 6 +++--- examples/api/glue.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com