Mercurial > hg > index.cgi
comparison lwlink/readfiles.c @ 362:d149e2b56981
Silence tautological comparison warnings
Because "char" may be signed or unsigned depending on the system, comparing
for byte values 128...255 has to be forced as an unsigned comparison to be
portable and clear. Modify two such comparisons in the symbol handling code
to treat the symbol offset as a pointer to unsigned. This quiets
tautological comparison warnings on systems with an 8 bit signed type as the
default char type.
author | William Astle <lost@l-w.ca> |
---|---|
date | Tue, 26 May 2015 23:42:00 -0600 |
parents | ce1fdc8d6568 |
children | 221b5f58d8ad |
comparison
equal
deleted
inserted
replaced
361:4130ffdeb5c8 | 362:d149e2b56981 |
---|