From 2703178d45f65c68018ef058966b44019f873faf Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 19 Feb 2012 18:04:03 -0700 Subject: handy.h: Silence Solaris compiler warning Making this an unsigned constant silences the scary and wrong Solaris warnings about integer overflow --- handy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1