Commit 43bdd48
committed
fix(arch/armv8): add explicit casts to fix size_t to uint32_t conversion warnings
The -Werror=conversion flag causes build failures due to implicit
narrowing from size_t (64-bit) to uint32_t (32-bit) in smmuv2 and
vgicv3 code. Add explicit (uint32_t) casts where the narrowing is
intentional and safe.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>1 parent b182e60 commit 43bdd48
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
| 328 | + | |
328 | 329 | | |
329 | | - | |
| 330 | + | |
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
| |||
0 commit comments