]> git.meshlink.io Git - catta/commitdiff
remove yet another osx compiler warning
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Feb 2006 00:52:12 +0000 (00:52 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Feb 2006 00:52:12 +0000 (00:52 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1162 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-daemon/static-services.c

index 97cc8b3e77843651d7516b686ad2e14039e25178..a750c2f902c6e6475dc024a14e33e6f26885b4e8 100644 (file)
@@ -613,7 +613,7 @@ static int static_service_group_load(StaticServiceGroup *g) {
         }
 
         if (!XML_ParseBuffer(parser, n, n == 0)) {
-            avahi_log_error("XML_ParseBuffer() failed at line %d: %s.\n", XML_GetCurrentLineNumber(parser), XML_ErrorString(XML_GetErrorCode(parser)));
+            avahi_log_error("XML_ParseBuffer() failed at line %d: %s.\n", (int) XML_GetCurrentLineNumber(parser), XML_ErrorString(XML_GetErrorCode(parser)));
             goto finish;
         }