Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
talpachen committed Oct 14, 2023
1 parent ed0c662 commit 5d7c370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jtag/drivers/cmsis_dap_usb_bulk.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ static int cmsis_dap_usb_write(struct cmsis_dap *dap, int txlen, int timeout_ms)
int err;
int tail = 0;

if ((txlen < dap->packet_buffer_size) && !(txlen % dap->packet_size)) {
if ((txlen < (int)dap->packet_buffer_size) && !(txlen % dap->packet_size)) {
tail = 1;
}

Expand Down

0 comments on commit 5d7c370

Please sign in to comment.