mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #7858 from kYc0o/fix_encx24j600_comp
drivers/encx24j600/encx24j600.c : fix counter var length
This commit is contained in:
commit
4de88d31c2
@ -301,7 +301,7 @@ static int _send(netdev_t *netdev, const struct iovec *vector, unsigned count) {
|
||||
/* copy packet to SRAM */
|
||||
size_t len = 0;
|
||||
|
||||
for (int i = 0; i < count; i++) {
|
||||
for (unsigned i = 0; i < count; i++) {
|
||||
sram_op(dev, ENC_WGPDATA, (i ? 0xFFFF : TX_BUFFER_START), vector[i].iov_base, vector[i].iov_len);
|
||||
len += vector[i].iov_len;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user