diff --git a/stk500.c b/stk500.c index c68f847d..b2508a20 100644 --- a/stk500.c +++ b/stk500.c @@ -36,7 +36,6 @@ #include #include #include -#include #include "avr.h" #include "pgm.h" @@ -680,7 +679,7 @@ void stk500_close(PROGRAMMER * pgm) } -static int stk500_loadaddr(PROGRAMMER * pgm, uint16_t addr) +static int stk500_loadaddr(PROGRAMMER * pgm, unsigned int addr) { unsigned char buf[16]; int tries;