diff src/lisp.h @ 110514:8e5fcc5dd96b

Clean up EMACS_INT/int in cmds.c, as well as USE_SAFE_ALLOCA.
author Lars Magne Ingebrigtsen <larsi@gnus.org>
date Thu, 23 Sep 2010 22:16:55 +0200
parents 43adca79c8fd
children 6248bcadfd21
line wrap: on
line diff
--- a/src/lisp.h	Thu Sep 23 21:53:46 2010 +0200
+++ b/src/lisp.h	Thu Sep 23 22:16:55 2010 +0200
@@ -2839,7 +2839,7 @@
 extern Lisp_Object intern (const char *);
 extern Lisp_Object intern_c_string (const char *);
 extern Lisp_Object make_symbol (const char *);
-extern Lisp_Object oblookup (Lisp_Object, const char *, int, int);
+extern Lisp_Object oblookup (Lisp_Object, const char *, EMACS_INT, EMACS_INT);
 #define LOADHIST_ATTACH(x) \
   do {									\
     if (initialized) Vcurrent_load_list = Fcons (x, Vcurrent_load_list); \
@@ -3726,7 +3726,7 @@
 extern Lisp_Object safe_alloca_unwind (Lisp_Object);
 
 #define USE_SAFE_ALLOCA			\
-  int sa_count = SPECPDL_INDEX (), sa_must_free = 0
+  int sa_count = (int) SPECPDL_INDEX (), sa_must_free = 0
 
 /* SAFE_ALLOCA allocates a simple buffer.  */