summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2023-03-23 11:50:54 +0100
committerYves Orton <demerphq@gmail.com>2023-03-29 20:54:49 +0800
commit55dc0196bb04b67e8268bba2bf900f129e4545d1 (patch)
tree682a3ae37e252e748de60c208bc0e67c176b8a35 /embed.fnc
parent3bce2dad3897a6791eb6d124f4b4a368a93d4cd5 (diff)
downloadperl-55dc0196bb04b67e8268bba2bf900f129e4545d1.tar.gz
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.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
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 \