diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-09-23 09:11:20 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-09-23 09:11:20 +0000 |
commit | cfcd7d2c78c01d97354d478046b9a6e1e9278f83 (patch) | |
tree | 67e66b07d7a99337d343a3015523f6220ed5d6cb /pjlib | |
parent | 0f725e23318c2b58f228f9667610c7a92f76c553 (diff) |
More ticket #639: fixed warning with gcc about comparison always true
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2307 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib')
-rw-r--r-- | pjlib/include/pj/ctype.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/include/pj/ctype.h b/pjlib/include/pj/ctype.h index 94908d9c..7efae004 100644 --- a/pjlib/include/pj/ctype.h +++ b/pjlib/include/pj/ctype.h @@ -62,7 +62,7 @@ PJ_INLINE(int) pj_isalpha(unsigned char c) { return isalpha(c); } * @return Non-zero value if c is a particular representation of * an ASCII character. */ -PJ_INLINE(int) pj_isascii(unsigned char c) { return c<128 && c>=0; } +PJ_INLINE(int) pj_isascii(unsigned char c) { return c<128; } /** * Returns a non-zero value if c is a particular representation of |