Commit 90645ff
committed
Fix _Atomic compound assignment type error on clang
Clang considers the result type of `E1 op= E2` on _Atomic(size_t) to
remain _Atomic(size_t), which cannot implicitly initialize a plain
size_t. Add an explicit cast.
https://claude.ai/code/session_016WrrtwsGrysn69mESb975G1 parent c2dbfb9 commit 90645ff
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
| 457 | + | |
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| |||
0 commit comments