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)
commit089b5c60c035d158afd7e1bbfdd8d9229beea884
tree7472f23ebc4b47485d60c87448a84828ab576a51
parent3f40aba3cc2139eb7b147b8db25c9d3ed7e7adb0
In Perl_magic_setdbline, replace the use of atoi() with sv_2iv().

The value on which atoi() is called is actually always the buffer of an SV.
Hence we can use sv_2iv() instead.
mg.c