summaryrefslogtreecommitdiff
path: root/isprint.h
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-08-21 17:26:49 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-08-21 17:26:49 +0000
commit19edfe89407342451e598b3e75632f6a6902431d (patch)
tree0f87f302f918e6c91d71db5df6d416508abd5f3f /isprint.h
parent67131fcf8b516530fd64513798adc0e5a301f417 (diff)
downloadwireshark-19edfe89407342451e598b3e75632f6a6902431d.tar.gz
Fully parenthesize the isprint() macro.
svn path=/trunk/; revision=51454
Diffstat (limited to 'isprint.h')
-rw-r--r--isprint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/isprint.h b/isprint.h
index 7cf02ebb1b..85f16f1697 100644
--- a/isprint.h
+++ b/isprint.h
@@ -35,6 +35,6 @@
* all characters that aren't printable ASCII.
*/
#undef isprint
-#define isprint(c) (c >= 0x20 && c < 0x7f)
+#define isprint(c) (((c) >= 0x20) && ((c) < 0x7f))
#endif