Skip to content

Commit cd13978

Browse files
Dan Carpenterdavem330
authored andcommitted
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>
1 parent 661dbf3 commit cd13978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/isdn/hisax/q931.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ prfeatureind(char *dest, u_char *p)
810810
dp += sprintf(dp, " octet 3 ");
811811
dp += prbits(dp, *p, 8, 8);
812812
*dp++ = '\n';
813-
if (!(*p++ & 80)) {
813+
if (!(*p++ & 0x80)) {
814814
dp += sprintf(dp, " octet 4 ");
815815
dp += prbits(dp, *p++, 8, 8);
816816
*dp++ = '\n';

0 commit comments

Comments
 (0)