Cast in fprintf to remove warning on possible size mismatch

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@859 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
David Hoerl 2009-10-10 22:10:46 +00:00
parent 2c2d82e049
commit 8d0cdd937c
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ static int jtagmkI_send(PROGRAMMER * pgm, unsigned char * data, size_t len)
if (verbose >= 3) if (verbose >= 3)
fprintf(stderr, "\n%s: jtagmkI_send(): sending %u bytes\n", fprintf(stderr, "\n%s: jtagmkI_send(): sending %u bytes\n",
progname, len); progname, (unsigned int)len);
if ((buf = malloc(len + 2)) == NULL) if ((buf = malloc(len + 2)) == NULL)
{ {