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

this can lead to bugs with values greater than 2^sizeof(ssize_t)

The range of indexable array elements is not only constrained by the unsigned type size_t, but also by the signed type ptrdiff_t, so you could always go with the latter instead of the non-ISO ssize_t.



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

Search: