[Top][All Lists]

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

Re: ptrdiff_t misuse

From: Samuel Bronson
Subject: Re: ptrdiff_t misuse
Date: Fri, 6 Jul 2012 17:33:02 -0400

On Jul 6, 2012, at 5:30 PM, Stefan Monnier wrote:

Stefan, do you object to making hscroll (and other values that come
from Lisp) EMACS_INT?

Yes.  A large value makes no sense.  It should be int.
And I'm perfectly happy with taking very-large values and letting them
wraparound.  Those values are bogus anyway.

... but isn't that Undefined Behavior?

reply via email to

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