We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78845b4 commit 9e9c63fCopy full SHA for 9e9c63f
src/Workspace.hpp
@@ -847,7 +847,7 @@ class WorkspaceFolder
847
if (!candidate)
848
return std::nullopt;
849
850
- unsigned int activeParameter = candidate->args.size == 0 ? 0 : candidate->args.size - 1;
+ unsigned int activeParameter = candidate->args.size == 0 ? 0 : static_cast<unsigned int>(candidate->args.size - 1);
851
852
auto it = module->astTypes.find(candidate->func);
853
if (!it)
0 commit comments