mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-12 04:35:28 -07:00
fixing the other loop types
This commit is contained in:
parent
669644ce1b
commit
3907be8017
@ -737,7 +737,7 @@ uint32_t usb_read_ng(uint8_t *data, size_t len) {
|
||||
|
||||
// if local buffer has all data
|
||||
|
||||
for (uint8_t i = 0; i < len; i++) {
|
||||
for (size_t i = 0; i < len; i++) {
|
||||
data[nbBytesRcv++] = usb_read_ng_buffer[usb_read_ng_bufoffset + i];
|
||||
}
|
||||
|
||||
@ -755,7 +755,7 @@ uint32_t usb_read_ng(uint8_t *data, size_t len) {
|
||||
|
||||
// take all data from local buffer, then read from usb
|
||||
|
||||
for (uint8_t i = 0; i < usb_read_ng_buflen; i++) {
|
||||
for (size_t i = 0; i < usb_read_ng_buflen; i++) {
|
||||
data[nbBytesRcv++] = usb_read_ng_buffer[usb_read_ng_bufoffset + i];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user