Depending on the signedness of length_t type we may either get warnings comparison of unsigned expression in ‘>= 0’ being always true or do insufficient checking by not checking if index is not negative. Hide the index checking behind a macro that check the index properly.master
parent
8ebe4b5e57
commit
38edba1818
14 changed files with 28 additions and 26 deletions
Loading…
Reference in New Issue