Re: [AC21.5] Cleaning out old work #1: double-cast to fix C++ build

Jerry James <[email protected]> Mon, 4 Jan 2016 21:00:50 -0700
Newsgroups gmane.emacs.xemacs.patches
Message-ID <CAHCOHQmK=zPvUGcaYDjneqDpWwLkpBp0OpddUfdbi-F+sLSwnw@mail.gmail.com>
On Sun, Jan 3, 2016 at 8:44 PM, Stephen J. Turnbull <[email protected]> wrote:
> APPROVE COMMIT 21.5
>
> This is a now-ancient patch from Jerry.  I haven't actually run with
> it but I've verified that the build fails without the patch and
> succeeds with it, so I'm pushing.
>
> I wonder if maybe "long" shouldn't be "EMACS_INT"?  In theory
> EMACS_INT could be long long on some platform to accomodate void*,
> IIRC.

Yes, it should be a pointer-sized int, which is exactly what EMACS_INT
is supposed to be.  I should have thought of that way back when.
Regards,
-- 
Jerry James
http://www.jamezone.org/