projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
64bits fix
[apps/pfixtools.git]
/
postlicyd
/
query.c
diff --git
a/postlicyd/query.c
b/postlicyd/query.c
index
fe370b7
..
2d4cd89
100644
(file)
--- 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) {
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) {
}
const char *field = query == NULL ? NULL : query_field_for_id(query, tok);
if (field == NULL) {