bug-texinfo
[Top][All Lists]
Advanced

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

Re: [PATCH] Silence compiler warnings with MinGW64


From: Patrice Dumas
Subject: Re: [PATCH] Silence compiler warnings with MinGW64
Date: Wed, 5 Apr 2023 11:31:12 +0200

On Wed, Apr 05, 2023 at 11:47:08AM +0300, Eli Zaretskii wrote:
> Those are real bugs: we should cast to inptr_t instead of long.

We already do that in some code, but we immediatly cast to another type,
defined in perl, like
  IV value = (IV) (intptr_t) k->value;

Is there a integer type we could cast to that represents integers that we
are sure makes sense to cast from intptr_t?  For instance, is the
following correct, or should long be replaced by something else?
  long max_columns = (long) (intptr_t) k->value;

I tried to lookup that information on the www, but could not find
anything definitive.

-- 
Pat



reply via email to

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