Commit d0a13c59 authored by Laurent Montel's avatar Laurent Montel 😁

Fix modern casting

parent d9292a59
...@@ -153,7 +153,7 @@ SearchRule::Function SearchRule::configValueToFunc(const char *str) ...@@ -153,7 +153,7 @@ SearchRule::Function SearchRule::configValueToFunc(const char *str)
for (int i = 0; i < numFuncConfigNames; ++i) { for (int i = 0; i < numFuncConfigNames; ++i) {
if (qstricmp(funcConfigNames[i], str) == 0) { if (qstricmp(funcConfigNames[i], str) == 0) {
return (Function)i; return static_cast<Function>(i);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment