From: Ben Pfaff Date: Fri, 1 Apr 2005 21:06:38 +0000 (+0000) Subject: Fix parenthesization. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c73d169a6c918f465b5597c2b4f4dd1514248451;p=pintos-anon Fix parenthesization. --- diff --git a/src/lib/ctype.h b/src/lib/ctype.h index 7a2c52d..9096aca 100644 --- a/src/lib/ctype.h +++ b/src/lib/ctype.h @@ -16,7 +16,7 @@ static inline int isspace (int c) { static inline int isblank (int c) { return c == ' ' || c == '\t'; } static inline int isgraph (int c) { return c > 32 && c < 127; } static inline int isprint (int c) { return c >= 32 && c < 127; } -static inline int iscntrl (int c) { return c >= 0 && c < 32 || c == 127; } +static inline int iscntrl (int c) { return (c >= 0 && c < 32) || c == 127; } static inline int isascii (int c) { return c >= 0 && c < 128; } static inline int ispunct (int c) { return isprint (c) && !isalnum (c) && !isspace (c);