[PATCH xoo 8/8] Fix fprintf format warning
Yaakov (Cygwin/X)
yselkowitz at users.sourceforge.net
Wed Oct 10 16:07:03 PDT 2012
From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
config.c:327:9: warning: format '%d' expects type 'int', but argument 3
has type 'XML_Size'
Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
---
src/config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/config.c b/src/config.c
index 07a70c4..4d3e175 100644
--- a/src/config.c
+++ b/src/config.c
@@ -322,7 +322,7 @@ config_init (FakeApp * app, char *conf_file)
if (!XML_Parse (p, data, strlen (data), 1))
{
- fprintf (stderr, "XML Parse error at line %d:\n%s\n",
+ fprintf (stderr, "XML Parse error at line %lu:\n%s\n",
XML_GetCurrentLineNumber (p),
XML_ErrorString (XML_GetErrorCode (p)));
exit (1);
--
1.7.9
More information about the xorg-devel
mailing list