diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-02-19 18:04:03 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-02-19 18:29:35 -0700 |
commit | 2703178d45f65c68018ef058966b44019f873faf (patch) | |
tree | 81795bfad1e4c7aa6a715f9dce18a939f2779660 /handy.h | |
parent | 12b4b03c302996c6436da1a9d64b9e84827364e2 (diff) | |
download | perl-2703178d45f65c68018ef058966b44019f873faf.tar.gz |
handy.h: Silence Solaris compiler warning
Making this an unsigned constant silences the scary and wrong Solaris
warnings about integer overflow
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -626,7 +626,7 @@ patched there. The file as of this writing is cpan/Devel-PPPort/parts/inc/misc # define _CC_WORDCHAR_L1 (1<<28) # define _CC_XDIGIT_A (1<<29) # define _CC_NONLATIN1_FOLD (1<<30) -# define _CC_QUOTEMETA (1<<31) +# define _CC_QUOTEMETA (1U<<31) /* 1U keeps Solaris from griping */ /* Unused: None * If more are needed, can give up some of the above. The first ones to go * would be those that require just two tests to verify, either there are two |