aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd2022-03-13 19:35:50 +0100
committerMattias EngdegÄrd2022-03-13 19:35:50 +0100
commitedb8481ce15404d9157e104958aef22b05b606a7 (patch)
treec8d4e91d58b774174a2ca383f0733ee63539749e /src/bytecode.c
parent3ed79cdbf21039fa209c421f746c0b49ec33f4da (diff)
downloademacs-edb8481ce15404d9157e104958aef22b05b606a7.tar.gz
emacs-edb8481ce15404d9157e104958aef22b05b606a7.zip
* src/bytecode.c (sf_set_ptr): Cast pointer to type of right size.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c2
1 files changed, 1 insertions, 1 deletions
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)
393INLINE void 393INLINE void
394sf_set_ptr (Lisp_Object *fp, enum stack_frame_index index, void *value) 394sf_set_ptr (Lisp_Object *fp, enum stack_frame_index index, void *value)
395{ 395{
396 fp[index] = XIL ((EMACS_INT)value); 396 fp[index] = XIL ((uintptr_t)value);
397} 397}
398 398
399INLINE Lisp_Object * 399INLINE Lisp_Object *