[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master edb8481ce1: * src/bytecode.c (sf_set_ptr): Cast pointer to type o
From: |
Mattias Engdegård |
Subject: |
master edb8481ce1: * src/bytecode.c (sf_set_ptr): Cast pointer to type of right size. |
Date: |
Sun, 13 Mar 2022 14:36:32 -0400 (EDT) |
branch: master
commit edb8481ce15404d9157e104958aef22b05b606a7
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
* 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 9356ebeb6c..b26146c27f 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 *
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master edb8481ce1: * src/bytecode.c (sf_set_ptr): Cast pointer to type of right size.,
Mattias Engdegård <=