* src/bytecode.c (sf_set_ptr): Cast pointer to type of right size.

This commit is contained in:
Mattias Engdegård 2022-03-13 19:35:50 +01:00
parent 3ed79cdbf2
commit edb8481ce1

View file

@ -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 *