aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs-module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c
index 13f2a1dd98f..22fee7e4860 100644
--- a/src/emacs-module.c
+++ b/src/emacs-module.c
@@ -850,8 +850,8 @@ static Lisp_Object
850value_to_lisp (emacs_value v) 850value_to_lisp (emacs_value v)
851{ 851{
852#ifdef WIDE_EMACS_INT 852#ifdef WIDE_EMACS_INT
853 ptrdiff_t tmp = (ptrdiff_t)v; 853 uintptr_t tmp = (uintptr_t)v;
854 int tag = tmp & ((1 << GCTYPEBITS) - 1); 854 unsigned tag = tmp & ((1 << GCTYPEBITS) - 1);
855 Lisp_Object o; 855 Lisp_Object o;
856 switch (tag) 856 switch (tag)
857 { 857 {