Comment by benchloftbrunch
5 months ago
It's not UB. Integer promotion applies, the signed int is implicitly coerced to unsigned (or the other way around - don't remember which.)
5 months ago
It's not UB. Integer promotion applies, the signed int is implicitly coerced to unsigned (or the other way around - don't remember which.)
No comments yet
Contribute on Hacker News ↗