summaryrefslogtreecommitdiff
path: root/usr.sbin/config/mkmakefile.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2016-10-16 17:37:40 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2016-10-16 17:37:40 +0000
commitf8ceee3cee6452bc381d693c209e8f360047f225 (patch)
tree63a62cc0f263df0b567dfd415214441bb3796691 /usr.sbin/config/mkmakefile.c
parentea862ff4b059a9278e4a8fac94f393e7b1187375 (diff)
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.
Diffstat (limited to 'usr.sbin/config/mkmakefile.c')
0 files changed, 0 insertions, 0 deletions