drivers/usb: Use the right data-type

Use uint32_t instead of int.

Change-Id: I7d73a3fea61e48663aeada6792b9b6c19db1cb35
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
This commit is contained in:
Flavio Santes 2016-12-21 00:22:41 -06:00 committed by Anas Nashif
commit 358056692f

View file

@ -328,7 +328,7 @@ static int usb_dw_tx(uint8_t ep, const uint8_t *const data,
uint32_t max_xfer_size, max_pkt_cnt, pkt_cnt, avail_space;
uint32_t ep_mps = usb_dw_ctrl.in_ep_ctrl[ep_idx].mps;
unsigned int key;
int i;
uint32_t i;
/* Check if FIFO space available */
avail_space = USB_DW->in_ep_reg[ep_idx].dtxfsts &