Skip to content

Commit 9e9c63f

Browse files
committed
Fix warning
1 parent 78845b4 commit 9e9c63f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Workspace.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ class WorkspaceFolder
847847
if (!candidate)
848848
return std::nullopt;
849849

850-
unsigned int activeParameter = candidate->args.size == 0 ? 0 : candidate->args.size - 1;
850+
unsigned int activeParameter = candidate->args.size == 0 ? 0 : static_cast<unsigned int>(candidate->args.size - 1);
851851

852852
auto it = module->astTypes.find(candidate->func);
853853
if (!it)

0 commit comments

Comments
 (0)