Skip to content

Commit d01c3c8

Browse files
committed
Staging: cpc-usb: fix build warnings
This fixes some build warnings in the cpc-usb driver. Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5e23f3e commit d01c3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/cpc-usb/cpc-usb_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ static int cpcusb_probe(struct usb_interface *interface,
10321032
goto error;
10331033
}
10341034
info("Allocated memory for %d messages (%lu kbytes)",
1035-
CPC_MSG_BUF_CNT, (sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT) / 1000);
1035+
CPC_MSG_BUF_CNT, (long unsigned int)(sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT) / 1000);
10361036
memset(chan->buf, 0, sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT);
10371037

10381038
ResetBuffer(chan);

0 commit comments

Comments
 (0)