Skip to content

Commit 330078a

Browse files
tilmanschmidtdavem330
authored andcommitted
isdn/capi: correct argument types of command_2_index
Utility function command_2_index is always called with arguments of type u8. Adapt its declaration accordingly. Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f6a68e6 commit 330078a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/isdn/capi/capiutil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ static unsigned char *cpars[] =
201201
#define structTRcpyovl(x, y, l) memmove(y, x, l)
202202

203203
/*-------------------------------------------------------*/
204-
static unsigned command_2_index(unsigned c, unsigned sc)
204+
static unsigned command_2_index(u8 c, u8 sc)
205205
{
206206
if (c & 0x80)
207207
c = 0x9 + (c & 0x0f);

0 commit comments

Comments
 (0)