[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: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
- Re: EMACS_INT cleanup, (continued)
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup,
Lars Magne Ingebrigtsen <=
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/23
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Juanma Barranquero, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Stefan Monnier, 2010/09/23
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Miles Bader, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24