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?p=pintos-anon;a=commitdiff_plain;h=8b4c0910555d2d2338a03709556480eca6884a65 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);