summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-07-29 13:15:57 -0600
committerKarl Williamson <khw@cpan.org>2016-07-29 13:21:18 -0600
commitace3ad0f8709a7fde3c8e2a6249bb3f3fb7c7b16 (patch)
tree37ab8ea769eaa8de70f457c98959a59759bf6781 /handy.h
parent4fe487375733a521d44d835d6c9894bd30c6e26a (diff)
downloadperl-ace3ad0f8709a7fde3c8e2a6249bb3f3fb7c7b16.tar.gz
handy.h: Add missing parens in macro
These should have been in the recent commit 6c5b02ac7a9ff1c91f2ca46bedd89ba9012bb34f
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/handy.h b/handy.h
index b7cd9f5943..dabe0cd6ea 100644
--- a/handy.h
+++ b/handy.h
@@ -913,7 +913,7 @@ patched there. The file as of this writing is cpan/Devel-PPPort/parts/inc/misc
/* The '| 0' part ensures a compiler error if c is not integer (like e.g., a
* pointer) */
#define FITS_IN_8_BITS(c) ( (sizeof(c) == 1) \
- || !(((WIDEST_UTYPE)(c | 0)) & ~0xFF))
+ || !(((WIDEST_UTYPE)((c) | 0)) & ~0xFF))
#else
#define FITS_IN_8_BITS(c) (1)
#endif