<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/130923>130923</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Warning in UnwrappedLineFormatter.cpp while building llvm
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
anutosh491
</td>
</tr>
</table>
<pre>
I am building llvm (clang/lld) against emscripten for a wasm usecase and i see this warning. (Not sure the same shows up while building for other platforms)
Not harmful and can still get my use case working but I thought of reporting it.
```
│ │ $SRC_DIR/clang/lib/Format/UnwrappedLineFormatter.cpp:669:31: warning: comparison of integers of different signs: 'typename iterator_traits<AnnotatedLine *const *>::difference_type' (aka 'long') and 'const unsigned int' [-Wsign-compare]
│ │ 669 | if (std::distance(I, E) <= N)
│ │ | ~~~~~~~~~~~~~~~~~~~ ^ ~
│ │ 1 warning generated.
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0lM1upDgQx5-m-lJKy9h8NAcOTCctRVrNYVarOUYGCvCOsZFdpJXLPPvKdHoT7SolJCwX_tXf9YGO0UyOqIHiGxSPB73x7EOj3cY-znmdHTo_vDXPqBfsNmMH4ya09nVBkKfeajeBvFg7gKxRT9q4yEhL7INZmRyOPqDGq44LbpF6HQm1G9BgJEKeTcSrDs646Zh43z1j3ELyEEa9EMbZXyNuK15nY-lDQeJ6ningajWPPiwRZA2iBdEmyqzDMm52D9Zrh5GNtTgR4_KWlOAu5erDr0TrNsZn5Nlv08zoRwy0-sDJZfh4o0Ip3h_RIjxJqHM4yc8rmf_54_zy-PwD5OXfzJgO5OXiw6IZ5OUvdw16XWn4wzi67TKFY7-uoNqyrEG1KgPV3rOSlr1fVh1M9C4pM45pohDTejDjSIEcY6phTB-DrPhtJZdyZ5iCZh9eOGjDEdS5dc6z5lt4BNn2PtULZAvqCVQLqr0ze3pJIJBVKoz-pRPa-nSpaq-1G9LODbC5vYmGpG4_UXx7-Jm2Hm7iCYrHr9KGWJY1QnXGm5kxBYw83PVE1q4nkKdnkGd8SsFBnUE94vdbyb_AJvvAJvv9f0MonhB_f0XJ7oXAiVzKJg3Hz71wGBo11KrWB2qyKs-qsijr6jA3usjLoqt6UQshlB6LU3GqqkrUWSeqSo0H00ghC6EyKar8lFXHPK_qrBKjOOUDlbmCXNCijT2mYTv6MB1MjBs1mRK1VAerO7Jxn1opHV1x94KUaYhDkw49dNsUIRfWRI4fGDZsqfn5fi_j8Oum_O_UJcZhC7aZmdfUbyAvIC-T4Xnrjr1f9n_B6_31sAb_N_Wp8Xd1EeTlXf5rI_8JAAD__xnpZU4">