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:
parent
e6eb325ad9
commit
39653cb958
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue