summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 651afe095..c180bfd0c 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -812,8 +812,8 @@ void ModuleSpanningTree::OnPostCommand(const std::string &command, const char**
// commands and linking protocols.
std::deque<std::string> params;
params.clear();
- size_t n_translate = thiscmd->translation.size();
- TranslationType translate_to;
+ int n_translate = thiscmd->translation.size();
+ TranslateType translate_to;
for (int j = 0; j < pcnt; j++)
{