diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-07-09 22:41:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-07-09 22:42:15 +0100 |
commit | d0c02ee183b67f87a4e4e13fc6dfbf072620b464 (patch) | |
tree | 442d02393c7de998b75f78a9627964f4788afa9c | |
parent | ea851f3f8465f5d7016d71bf5b782c0b4f86c95e (diff) | |
download | rspamd-d0c02ee183b67f87a4e4e13fc6dfbf072620b464.tar.gz rspamd-d0c02ee183b67f87a4e4e13fc6dfbf072620b464.zip |
[Minor] Fix another `enum` usage in fmt
Issue: #4482
-rw-r--r-- | src/libserver/symcache/symcache_item.cxx | 2 |
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); |