Hacker News new | ask | show | jobs
by benchloftbrunch 28 days 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.)