Add cast for printf()
This commit is contained in:
parent
c2d02165d7
commit
8e3798dbbc
|
@ -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)
|
static void default_outOfMemory(const struct csxml* ctx, size_t amount)
|
||||||
{
|
{
|
||||||
(void)ctx;
|
(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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue