From edb8481ce15404d9157e104958aef22b05b606a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sun, 13 Mar 2022 19:35:50 +0100 Subject: [PATCH] * src/bytecode.c (sf_set_ptr): Cast pointer to type of right size. --- src/bytecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bytecode.c b/src/bytecode.c index 9356ebeb6cb..b26146c27f3 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -393,7 +393,7 @@ sf_get_ptr (Lisp_Object *fp, enum stack_frame_index index) INLINE void sf_set_ptr (Lisp_Object *fp, enum stack_frame_index index, void *value) { - fp[index] = XIL ((EMACS_INT)value); + fp[index] = XIL ((uintptr_t)value); } INLINE Lisp_Object * -- 2.39.5