summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorPetr Písař <ppisar@redhat.com>2016-11-24 16:34:09 +0100
committerTony Cook <tony@develop-help.com>2016-12-01 10:12:54 +1100
commit463ddf34c08f2c97199b1bb242da1f17494d4d1a (patch)
treeab0921e2bca860475202dfd86396bdf697a9f724 /README
parent71ca73e5fa9639ac33e9f2e74cd0c32288a5040d (diff)
downloadperl-463ddf34c08f2c97199b1bb242da1f17494d4d1a.tar.gz
Fix const correctness in hv_func.h
Building an XS code with -Wcast-qual yielded warnings about discarding const qualifiers from pointer targets like: $ printf '#include "EXTERN.h"\n#include "perl.h"\n' | gcc -Wcast-qual -I/usr/lib64/perl5/CORE -c -x c - In file included from /usr/lib64/perl5/CORE/hv.h:629:0, from /usr/lib64/perl5/CORE/perl.h:3740, from <stdin>:2: /usr/lib64/perl5/CORE/hv_func.h: In function ‘S_perl_hash_siphash_2_4’: /usr/lib64/perl5/CORE/hv_func.h:213:17: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] U64TYPE k0 = ((U64TYPE*)seed)[0]; ^ Signed-off-by: Petr Písař <ppisar@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions