X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2Fquery.c;h=2d4cd89e931edd59ec683b0d12409dfb61f80f74;hb=1f20b76400d58d143d433236a26b43e2c25da1f5;hp=fe370b75244e505574e71d5b4d4461d9e1848c63;hpb=c091e1809626636627a2824d6a2dfedeab3a4d24;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) {