dnsproxy: Build failure fix
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 20 Dec 2011 18:21:18 +0000 (19:21 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 20 Dec 2011 18:21:18 +0000 (19:21 +0100)
"The format modifier for size_t is %zd." (Marcel, 20/12/2011)

src/dnsproxy.c

index cf6f30e..35bcaee 100644 (file)
@@ -1006,7 +1006,7 @@ static int cache_update(struct server_data *srv, unsigned char *msg,
                cache_size++;
        }
 
-       DBG("cache %d %squestion \"%s\" type %d ttl %d size %ld",
+       DBG("cache %d %squestion \"%s\" type %d ttl %d size %zd",
                cache_size, new_entry ? "new " : "old ",
                question, type, ttl,
                sizeof(*entry) + sizeof(*data) + data->data_len + qlen);