Commit c6fccea
Fix clang-tidy: explicit casts for pointer conversion and narrowing
- Cast q->buf to (void *) in memset to avoid bugprone-multi-level-implicit-pointer-conversion
- Use (greg_t)(uintptr_t) cast in SIGURG handler to avoid bugprone-narrowing-conversions
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 17d3326 commit c6fccea
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
1193 | 1193 | | |
1194 | 1194 | | |
1195 | 1195 | | |
1196 | | - | |
| 1196 | + | |
1197 | 1197 | | |
1198 | 1198 | | |
1199 | 1199 | | |
| |||
0 commit comments