Skip to content

Fix an error from -Wsign-compare - #1889

Merged
adincebic merged 1 commit into
bazelbuild:mainfrom
Yannic:patch-2
Aug 21, 2026
Merged

Fix an error from -Wsign-compare#1889
adincebic merged 1 commit into
bazelbuild:mainfrom
Yannic:patch-2

Conversation

@Yannic

@Yannic Yannic commented Aug 21, 2026

Copy link
Copy Markdown
Contributor
external/rules_swift+/tools/common/process.cc:358:21: error: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Werror,-Wsign-compare]
       358 |   for (int i = 1; i < args.size(); i++) {
           |                   ~ ^ ~~~~~~~~~~~
     1 error generated.

```
external/rules_swift+/tools/common/process.cc:358:21: error: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Werror,-Wsign-compare]
       358 |   for (int i = 1; i < args.size(); i++) {
           |                   ~ ^ ~~~~~~~~~~~
     1 error generated.
```
@adincebic
adincebic enabled auto-merge (squash) August 21, 2026 07:38
@adincebic
adincebic merged commit ff9dfa2 into bazelbuild:main Aug 21, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants