From 55dc0196bb04b67e8268bba2bf900f129e4545d1 Mon Sep 17 00:00:00 2001 From: Yves Orton Date: Thu, 23 Mar 2023 11:50:54 +0100 Subject: util.c - avoid warning about truncated pointer value This code is part of the fallback rng initialization, it should only be used in odd circumstances, and it is intended to be "random"ish, so the logic change should not be a problem. This more or less reverts commit 4b4c4ab35e70f005167c863eae6d2003492c393c, although the S_ptr_hash() now lives in util.c instead of hv.c. Turns out having a decent pointer hash /is/ useful. --- embed.fnc | 1 + 1 file changed, 1 insertion(+) (limited to 'embed.fnc') diff --git a/embed.fnc b/embed.fnc index e9c88a017c..a0efe86d35 100644 --- a/embed.fnc +++ b/embed.fnc @@ -5893,6 +5893,7 @@ S |void |warn_on_first_deprecated_use \ #if defined(PERL_IN_UTIL_C) S |bool |ckwarn_common |U32 w S |SV * |mess_alloc +Ti |U32 |ptr_hash |PTRV u S |SV * |with_queued_errors \ |NN SV *ex So |void |xs_version_bootcheck \ -- cgit v1.2.1