Skip to content

Commit

Permalink
updated for version 7.3.439
Browse files Browse the repository at this point in the history
Problem:    Compiler warnings to size casts in Perl interface.
Solution:   Use XS macros. (James McCoy)
  • Loading branch information
brammool committed Feb 11, 2012
1 parent fc91cb4 commit b392293
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/if_perl.xs
Expand Up @@ -611,7 +611,7 @@ newWINrv(rv, ptr)
if (ptr->w_perl_private == NULL)
{
ptr->w_perl_private = newSV(0);
sv_setiv(ptr->w_perl_private, (IV)ptr);
sv_setiv(ptr->w_perl_private, PTR2IV(ptr));
}
else
SvREFCNT_inc(ptr->w_perl_private);
Expand All @@ -629,7 +629,7 @@ newBUFrv(rv, ptr)
if (ptr->b_perl_private == NULL)
{
ptr->b_perl_private = newSV(0);
sv_setiv(ptr->b_perl_private, (IV)ptr);
sv_setiv(ptr->b_perl_private, PTR2IV(ptr));
}
else
SvREFCNT_inc(ptr->b_perl_private);
Expand Down
2 changes: 1 addition & 1 deletion src/typemap
Expand Up @@ -6,7 +6,7 @@ INPUT
T_VIOBJNOMUNGE
if (sv_isa($arg, \"${ntype}\")) {
IV tmp = SvIV((SV*)SvRV($arg));
$var = ($type) tmp;
$var = INT2PTR($type, tmp);
if (!tmp)
croak(\"$ntype no longer exists\");
}
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -714,6 +714,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
439,
/**/
438,
/**/
Expand Down

0 comments on commit b392293

Please sign in to comment.