mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-16 18:44:17 +00:00
* jtagmkI.c (jtagmkI_send): Replace %zd format by %u since not all
implementations do understand the C99 formatting options (sigh). * jtagmkII.c (jtagmkII_send): (Ditto.) * stk500v2.c (stk500v2_recv): (Ditto.) git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@836 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -574,7 +574,7 @@ static int stk500v2_recv(PROGRAMMER * pgm, unsigned char msg[], size_t maxsize)
|
||||
if (curlen < maxsize) {
|
||||
msg[curlen] = c;
|
||||
} else {
|
||||
fprintf(stderr, "%s: stk500v2_recv(): buffer too small, received %d byte into %zd byte buffer\n",
|
||||
fprintf(stderr, "%s: stk500v2_recv(): buffer too small, received %d byte into %u byte buffer\n",
|
||||
progname,curlen,maxsize);
|
||||
return -2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user