XML_GetCurrentLineNumber() returns unsigned long as clang is telling us here
src/config-parser.c:603:6: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentLineNumber(p), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Khem Raj <raj.k...@gmail.com> --- src/config-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config-parser.c b/src/config-parser.c index b006f19..15a973e 100644 --- a/src/config-parser.c +++ b/src/config-parser.c @@ -598,7 +598,7 @@ mb_kbd_config_load(MBKeyboard *kbd, char *variant) if (! XML_Parse(p, data, strlen(data), 1)) { fprintf(stderr, - "matchbox-keyboard:%s:%d: XML Parse error:%s\n", + "matchbox-keyboard:%s:%lu: XML Parse error:%s\n", kbd->config_file, XML_GetCurrentLineNumber(p), XML_ErrorString(XML_GetErrorCode(p))); -- 2.7.0 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto