In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/19b96a2b521beb3b36fd375c46258d57d7d8a31e?hp=2acc3314e31a9342e325f35c5b592967c9850c9b>

- Log -----------------------------------------------------------------
commit 19b96a2b521beb3b36fd375c46258d57d7d8a31e
Author: Tony Cook <t...@develop-help.com>
Date:   Mon Oct 25 11:04:23 2010 +1100

    use compatible types in a conditional expression
    
    With some compilers NULL is ((void *)0) which isn't type compatible
    with the integer returned by hv_exists_ent().
-----------------------------------------------------------------------

Summary of changes:
 .../lib/ExtUtils/Constant/ProxySubs.pm             |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ProxySubs.pm 
b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ProxySubs.pm
index c252fc3..0c04002 100644
--- a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ProxySubs.pm
+++ b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ProxySubs.pm
@@ -663,7 +663,7 @@ $xs_subname(sv)
        HV *${c_subname}_missing = (C_ARRAY_LENGTH(values_for_notfound) > 1)
            ? get_missing_hash(aTHX) : NULL;
        if ((C_ARRAY_LENGTH(values_for_notfound) > 1)
-           ? hv_exists_ent(${c_subname}_missing, sv, 0) : NULL) {
+           ? hv_exists_ent(${c_subname}_missing, sv, 0) : 0) {
            sv = newSVpvf("Your vendor has not defined $package_sprintf_safe 
macro %" SVf
                          ", used", sv);
        } else

--
Perl5 Master Repository

Reply via email to