dtucker
741ef92d20
Roll back uintptr_t cast changes after discussions with tedu, otto and
others. C11 6.5.6.9 says: When two pointers are subtracted, both shall point to elements of the same array object, or one past the last element of the array object; the result is the difference of the subscripts of the two array elements. In these cases the objects are arrays of char so the result is defined, and we believe that the report is based on a compiler incorrectly trapping on defined behaviour. |
8 years ago | |
---|---|---|
src | Roll back uintptr_t cast changes after discussions with tedu, otto and | 8 years ago |