This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In Perl_magic_setdbline, replace the use of atoi() with sv_2iv().
authorNicholas Clark <nick@ccl4.org>
Wed, 28 Aug 2013 14:14:21 +0000 (16:14 +0200)
committerNicholas Clark <nick@ccl4.org>
Thu, 29 Aug 2013 16:22:43 +0000 (18:22 +0200)
The value on which atoi() is called is actually always the buffer of an SV.
Hence we can use sv_2iv() instead.


No differences found