Skip to content

Commit

Permalink
Suppress msvc C5054 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed Feb 23, 2025
1 parent c31d90b commit c833fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/libtorrent/performance_counters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ namespace libtorrent {
num_queued_tracker_announces,

num_counters,
num_gauges_counters = num_counters - num_stats_counters
num_gauges_counters = num_counters - static_cast<int>(num_stats_counters)
};
#ifdef ATOMIC_LLONG_LOCK_FREE
#define TORRENT_COUNTER_NOEXCEPT noexcept
Expand Down

0 comments on commit c833fc0

Please sign in to comment.