summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-02-19 18:04:03 -0700
committerKarl Williamson <public@khwilliamson.com>2012-02-19 18:29:35 -0700
commit2703178d45f65c68018ef058966b44019f873faf (patch)
tree81795bfad1e4c7aa6a715f9dce18a939f2779660
parent12b4b03c302996c6436da1a9d64b9e84827364e2 (diff)
downloadperl-2703178d45f65c68018ef058966b44019f873faf.tar.gz
handy.h: Silence Solaris compiler warning
Making this an unsigned constant silences the scary and wrong Solaris warnings about integer overflow
-rw-r--r--handy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/handy.h b/handy.h
index af0eddea09..c437447812 100644
--- a/handy.h
+++ b/handy.h
@@ -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