Fix compiler warning: sketch/Dcodes.cpp: In function 'void dcode_3()':
sketch/Dcodes.cpp:117:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < count; i++)
This commit is contained in:
parent
15c598fd6a
commit
d66da30843
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ void dcode_3()
|
||||||
count = parse_hex(strchr_pointer + 1, data, 16);
|
count = parse_hex(strchr_pointer + 1, data, 16);
|
||||||
if (count > 0)
|
if (count > 0)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < count; i++)
|
for (uint16_t i = 0; i < count; i++)
|
||||||
eeprom_write_byte((uint8_t*)(address + i), data[i]);
|
eeprom_write_byte((uint8_t*)(address + i), data[i]);
|
||||||
printf_P(_N("%d bytes written to EEPROM at address 0x%04x"), count, address);
|
printf_P(_N("%d bytes written to EEPROM at address 0x%04x"), count, address);
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
|
|
Loading…
Reference in a new issue