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