Bug 975: Fix int/size_t pointer type mismatch.
commite667c43cd3db35b2416ea6fe875469e6c9d9e11e
authorKalle Olavi Niemitalo <kon@iki.fi>
Sat, 10 Nov 2007 17:28:01 +0000 (10 19:28 +0200)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sat, 10 Nov 2007 17:28:01 +0000 (10 19:28 +0200)
tree5479992be7d90f9660ad99b545171802a2e98d3b
parentbe9ae9861d34ac53448dd21c678c415791d1db24
Bug 975: Fix int/size_t pointer type mismatch.

On machines where sizeof(size_t) > sizeof(int), this could corrupt the stack.
I think -Wno-pointer-sign added by configure hid this bug until now.
STRLEN is correct in Perl 5.6.0 and later, perhaps earlier too.
NEWS
src/scripting/perl/hooks.c