aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/symcache/symcache_item.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/symcache/symcache_item.cxx')
-rw-r--r--src/libserver/symcache/symcache_item.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/symcache/symcache_item.cxx b/src/libserver/symcache/symcache_item.cxx
index b50d4cae4..1ad113c54 100644
--- a/src/libserver/symcache/symcache_item.cxx
+++ b/src/libserver/symcache/symcache_item.cxx
@@ -572,7 +572,7 @@ auto item_type_from_c(enum rspamd_symbol_type type) -> tl::expected<std::pair<sy
auto check_trivial = [&](auto flag,
symcache_item_type ty) -> tl::expected<std::pair<symcache_item_type, int>, std::string> {
if (all_but_one_ty(type, flag)) {
- return tl::make_unexpected(fmt::format("invalid flags for a symbol: {}", type));
+ return tl::make_unexpected(fmt::format("invalid flags for a symbol: {}", (int)type));
}
return std::make_pair(ty, type & ~flag);