]> git.meshlink.io Git - catta/commitdiff
remove macosx compiler warning
authorLennart Poettering <lennart@poettering.net>
Wed, 12 Oct 2005 21:13:57 +0000 (21:13 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 12 Oct 2005 21:13:57 +0000 (21:13 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@745 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-core/util.c

index 77632fde1221f55bb2ba235e70604c6e438f4867..ef54be1c333a909574f094b1abdb4f5a5f198f06 100644 (file)
@@ -36,7 +36,7 @@ void avahi_hexdump(const void* p, size_t size) {
     const uint8_t *c = p;
     assert(p);
 
-    printf("Dumping %u bytes from %p:\n", size, p);
+    printf("Dumping %lu bytes from %p:\n", (unsigned long) size, p);
     
     while (size > 0) {
         unsigned i;