summaryrefslogtreecommitdiffstats
path: root/contrib/diff/src/normal.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2016-09-07 19:17:03 +0000
committerdim <dim@FreeBSD.org>2016-09-07 19:17:03 +0000
commit5af3f0b5e8740ebbf55d49df9c23dc25ea3616c0 (patch)
tree8970e8cd8eb07a97abd38199ba6d85b2698437f6 /contrib/diff/src/normal.c
parent2df99ac12ab3bf931dc78958d1f3b187083f419b (diff)
downloadFreeBSD-src-5af3f0b5e8740ebbf55d49df9c23dc25ea3616c0.zip
FreeBSD-src-5af3f0b5e8740ebbf55d49df9c23dc25ea3616c0.tar.gz
MFC r305360:
With clang 3.9.0, compiling cxgb results in the following warning: sys/dev/cxgb/cxgb_sge.c:2873:44: error: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Werror,-Wconstant-conversion] *mtod(m, char *) = CPL_ASYNC_NOTIF; ~ ^~~~~~~~~~~~~~~ This is because CPL_ASYNC_NOTIF is 0x80, so the plain char argument is wrapped to a negative value. Fix this by using uint8_t instead. Reviewed by: np Differential Revision: https://reviews.freebsd.org/D7772
Diffstat (limited to 'contrib/diff/src/normal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud