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

> As a side note, I don't understand the #define for sizeof.

Their `size` type is signed. It's `ptrdiff_t`, not `size_t`.



Ah, thanks! So code will look normal, but be subtly different. This is even worse than I thought!




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

Search: