diff --git a/jtag_xsvf_player.h b/jtag_xsvf_player.h index 984e253..29b3cae 100644 --- a/jtag_xsvf_player.h +++ b/jtag_xsvf_player.h @@ -372,7 +372,7 @@ static uint32_t xsvf_player_get_next_long(void) { return i; } -static uint32_t xsvf_player_get_next_bytes(uint8_t* data, uint32_t count) { +static void xsvf_player_get_next_bytes(uint8_t* data, uint32_t count) { while(count--) { *data++ = xsvf_player_next_byte(); }