Add cast for printf()

This commit is contained in:
Laurence Withers 2006-09-08 14:04:46 +01:00
commit 8e3798dbbc

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);
}