X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fbacktrace.h;h=7ca942ba7715e446d73e3f0f77489e37226e567d;hb=7df960ad0876c7f58245b8d96af84c221365e337;hp=fba7130af8b677c358314b130c96db6b98a56aed;hpb=716cfba952c1dc0d2cf5c968971f3780ba728a89;p=chise%2Fxemacs-chise.git.1 diff --git a/src/backtrace.h b/src/backtrace.h index fba7130..7ca942b 100644 --- a/src/backtrace.h +++ b/src/backtrace.h @@ -147,7 +147,7 @@ extern struct backtrace *backtrace_list; /* Most callers should simply use specbind() and unbind_to(), but if speed is REALLY IMPORTANT, you can use the faster macros below */ void specbind_magic (Lisp_Object, Lisp_Object); -void grow_specpdl (size_t reserved); +void grow_specpdl (EMACS_INT reserved); void unbind_to_hairy (int); extern int specpdl_size; @@ -214,8 +214,9 @@ extern int specpdl_size; } while (0) /* Request enough room for SIZE future entries on special binding stack */ +/* SR_size will typically be compared to an unsigned short */ #define SPECPDL_RESERVE(size) do { \ - size_t SR_size = (size); \ + EMACS_INT SR_size = (size); \ if (specpdl_depth() + SR_size >= specpdl_size) \ grow_specpdl (SR_size); \ } while (0)