]> jfr.im git - irc/atheme/libmowgli-2.git/commitdiff
patricia.c: Cast to void * for %p
authorPatrick McFarland <redacted>
Tue, 5 Feb 2013 10:54:11 +0000 (05:54 -0500)
committerPatrick McFarland <redacted>
Tue, 5 Feb 2013 10:54:11 +0000 (05:54 -0500)
src/libmowgli/container/patricia.c

index b530d3355299f56b0c39fe14bca639c8bfdbaa6d..96cd6220653c19529858efe820657ef6539525ff 100644 (file)
@@ -1022,7 +1022,7 @@ void mowgli_patricia_stats(mowgli_patricia_t *dict, void (*cb)(const char *line,
                                dict->id, dict->count);
        else
                snprintf(str, sizeof str, "Dictionary stats for <%p> (%d)",
-                               dict, dict->count);
+                               (void *)dict, dict->count);
        cb(str, privdata);
        maxdepth = 0;
        if (dict->count > 0)