Created
September 7, 2012 14:35
-
-
Save postwait/3666713 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/Privilege.xs b/usr/s | |
| index aeeeb4a..9028942 100644 | |
| --- a/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/Privilege.xs | |
| +++ b/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/Privilege.xs | |
| @@ -11,7 +11,7 @@ | |
| #include "perl.h" | |
| #include "XSUB.h" | |
| -#define IVCONST(s, c) newCONSTSUB(s, #c, newSViv((int)c)); | |
| +#define IVCONST(s, c) newCONSTSUB(s, #c, newSViv((int)(intptr_t)c)); | |
| #define POFF (sizeof ("PRIV_") - 1) | |
| #define RETPRIVSET(set) \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment