Add cast for printf()

This commit is contained in:
Laurence Withers 2006-09-08 14:04:46 +01:00
parent c2d02165d7
commit 8e3798dbbc
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ static void default_notWellFormed(const struct csxml* ctx, const char* reason)
static void default_outOfMemory(const struct csxml* ctx, size_t amount)
{
(void)ctx;
fprintf(stderr, "Streamed XML parser: out of memory allocating %lu bytes\n", amount);
fprintf(stderr, "Streamed XML parser: out of memory allocating %lu bytes\n", (unsigned long)amount);
}