Skip to content

Commit bd033a2

Browse files
committed
Fix CI.
1 parent a018b22 commit bd033a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class/usbtmc/usbtmc_device.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ bool tud_usbtmc_transmit_notification_data(const void * data, size_t len)
256256
TU_VERIFY(usbd_edpt_busy(usbtmc_state.rhport, usbtmc_state.ep_int_in));
257257

258258
TU_VERIFY(tu_memcpy_s(usbtmc_state.ep_int_in_buf, sizeof(usbtmc_state.ep_int_in_buf), data, len) == 0);
259-
TU_VERIFY(usbd_edpt_xfer(usbtmc_state.rhport, usbtmc_state.ep_int_in, usbtmc_state.ep_int_in_buf, len));
259+
TU_VERIFY(usbd_edpt_xfer(usbtmc_state.rhport, usbtmc_state.ep_int_in, usbtmc_state.ep_int_in_buf, (uint16_t)len));
260260
return true;
261261
}
262262

0 commit comments

Comments
 (0)