emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EMACS_INT cleanup


From: Lars Magne Ingebrigtsen
Subject: Re: EMACS_INT cleanup
Date: Thu, 23 Sep 2010 22:41:45 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> I just added the (int) here, which seemed to do the trick:
>
> #define USE_SAFE_ALLOCA                       \
>   int sa_count = (int) SPECPDL_INDEX (), sa_must_free = 0

Or perhaps this would be better:

#define SPECPDL_INDEX() ((int) (specpdl_ptr - specpdl))

It'd get rid of a lot of warnings, and we're really returning an int,
aren't we?  Sort of?

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]