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: Fri, 24 Sep 2010 02:07:26 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> Yes, but using ptrdiff_t will have the advantage that it's just right.
> Using int requires a cast and an argument for why int is sufficiently
> large in practice.  Casts are bad, and human-arguments are only OK when
> we can't argue directly with the compiler.

Yes, I agree.  It would be cleaner to fix the users to all be
ptrdiff_t.

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