diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-02-06 11:03:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-06 21:18:06 -0800 |
commit | cd139781546f22c41276045f6464c51074b50c40 (patch) | |
tree | 782a0e7cadb22c51fad598c218785011e42aceff /drivers/isdn | |
parent | 661dbf34129cecd20879cb7b1cbe936911da0f02 (diff) |
isdn/hisax: hex vs decimal typo in prfeatureind()
This is a static checker fix, but judging from the context then I think
hexidecimal 0x80 is intended here instead of decimal 80.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/hisax/q931.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/q931.c b/drivers/isdn/hisax/q931.c index af1b020a81f..b420f8bd862 100644 --- a/drivers/isdn/hisax/q931.c +++ b/drivers/isdn/hisax/q931.c @@ -810,7 +810,7 @@ prfeatureind(char *dest, u_char *p) dp += sprintf(dp, " octet 3 "); dp += prbits(dp, *p, 8, 8); *dp++ = '\n'; - if (!(*p++ & 80)) { + if (!(*p++ & 0x80)) { dp += sprintf(dp, " octet 4 "); dp += prbits(dp, *p++, 8, 8); *dp++ = '\n'; |