--async->awaited;
debug("got asynchronous request result for filter %s, rbl %d, still awaiting %d answers",
- filter->name, result - array_ptr(async->results, 0), async->awaited);
+ filter->name, (int)(result - array_ptr(async->results, 0)), async->awaited);
if (async->awaited == 0) {
filter_result_t res = HTK_FAIL;
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) {
--async->awaited;
debug("got asynchronous request result for filter %s, rbl %d, still awaiting %d answers",
- filter->name, result - array_ptr(async->results, 0), async->awaited);
+ filter->name, (int)(result - array_ptr(async->results, 0)), async->awaited);
if (async->awaited == 0) {
filter_result_t res = HTK_FAIL;