Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can just expand your example to use 16-bit values or switch to uint8_t. Bitfields with signed integers are also a minefield so it's best to never attempt it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: