summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index b9263f88c11..97abaade1e1 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -729,7 +729,8 @@ struct Lisp_Symbol
/* Yield an integer that tags PTR as a symbol. */
#define TAG_SYMPTR(ptr) \
- TAG_PTR (Lisp_Symbol, (char *) (ptr) - (char *) (USE_LSB_TAG ? lispsym : 0))
+ TAG_PTR (Lisp_Symbol, \
+ USE_LSB_TAG ? (char *) (ptr) - (char *) lispsym : (intptr_t) (ptr))
/* Declare extern constants for Lisp symbols. These can be helpful
when using a debugger like GDB, on older platforms where the debug