From d0c02ee183b67f87a4e4e13fc6dfbf072620b464 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 9 Jul 2023 22:41:28 +0100 Subject: [PATCH] [Minor] Fix another `enum` usage in fmt Issue: #4482 --- src/libserver/symcache/symcache_item.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 tl::expected, 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); -- 2.39.5