X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2Fquery.c;h=2d4cd89e931edd59ec683b0d12409dfb61f80f74;hb=93101836aa2492393b960a00b660f529a170c866;hp=fe370b75244e505574e71d5b4d4461d9e1848c63;hpb=2b1a2077788271ec50e42144d9f83f85f6ab6c78;p=apps%2Fpfixtools.git diff --git a/postlicyd/query.c b/postlicyd/query.c index fe370b7..2d4cd89 100644 --- a/postlicyd/query.c +++ b/postlicyd/query.c @@ -225,7 +225,7 @@ ssize_t query_format(char *dest, size_t len, const char *fmt, const query_t *que postlicyd_token tok = policy_tokenize(fmt, next_format - fmt); if (tok == PTK_UNKNOWN) { - warn("unknown field name \"%.*s\"", next_format - fmt, fmt); + warn("unknown field name \"%.*s\"", (int)(next_format - fmt), fmt); } const char *field = query == NULL ? NULL : query_field_for_id(query, tok); if (field == NULL) {