Change type of temporary padoff_du used in dUNDERBAR
authorMarcus Holland-Moritz <mhx-perl@gmx.net>
Wed, 26 Apr 2006 19:18:09 +0000 (19:18 +0000)
committerMarcus Holland-Moritz <mhx-perl@gmx.net>
Wed, 26 Apr 2006 19:18:09 +0000 (19:18 +0000)
from I32 to PADOFFSET, which is more correct (and fixes
a warning in Devel::PPPort).

p4raw-id: //depot/perl@27968

XSUB.h

diff --git a/XSUB.h b/XSUB.h
index 9832b7d..f6b4f9d 100644 (file)
--- a/XSUB.h
+++ b/XSUB.h
@@ -148,7 +148,7 @@ is a lexical $_ in scope.
 #define XSINTERFACE_FUNC_SET(cv,f)     \
                CvXSUBANY(cv).any_dxptr = (void (*) (pTHX_ void*))(f)
 
-#define dUNDERBAR I32 padoff_du = find_rundefsvoffset()
+#define dUNDERBAR PADOFFSET padoff_du = find_rundefsvoffset()
 #define UNDERBAR ((padoff_du == NOT_IN_PAD \
            || PAD_COMPNAME_FLAGS_isOUR(padoff_du)) \
        ? DEFSV : PAD_SVl(padoff_du))