]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
lib: fixed missing cast
authorMarek Vavruša <marek.vavrusa@nic.cz>
Mon, 20 Apr 2015 21:32:07 +0000 (23:32 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Mon, 20 Apr 2015 21:32:07 +0000 (23:32 +0200)
lib/resolve.c

index 68d13bb67816742e3c126a1a3224f8b9faef5ad5..014a5a180edef6a54f74d0d4289f114788bb633c 100644 (file)
@@ -152,7 +152,7 @@ static int resolve_iterative(struct kr_layer_param *param, mm_ctx_t *pool)
                }
        }
 
-       DEBUG_MSG("finished: %s, mempool: %llu B\n", knot_strerror(ret), mp_total_size(pool->ctx));
+       DEBUG_MSG("finished: %s, mempool: %zu B\n", knot_strerror(ret), (size_t) mp_total_size(pool->ctx));
        knot_requestor_clear(&requestor);
        return ret;
 }