[Top][All Lists]

[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:29:49 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> A cast somewhere in the macro would probably do the trick, but
>> where?
> Does it help to make sa_count's type ptrdiff_t instead of int?

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

(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]