Fix printf compiler warning with size_t data type

This commit is contained in:
Marcel Holtmann 2009-07-14 05:03:39 +02:00
parent bc42f6ab59
commit 6b7fb7c9f9
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ void dump_msg(const unsigned char *msg, size_t len)
sprintf(dumpstr + i * 5, "0x%02x%s",
msg[i], (i + 1) % 10 == 0 ? "\n" : " ");
DBG("%d bytes:\n%s", len, dumpstr);
DBG("%zd bytes:\n%s", len, dumpstr);
}
static void clear_pending_reqs()