summaryrefslogtreecommitdiffstats
path: root/usr.bin/bc
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-03-09 20:50:15 +0000
committerdim <dim@FreeBSD.org>2012-03-09 20:50:15 +0000
commitd692d62069a3260289bed79af40dc1c910af8ca3 (patch)
tree3360382b61048e64187df2e586cc950e86bb6fe6 /usr.bin/bc
parent825e868ea81d9b5e1f3ff9105cdaee27f7b00d93 (diff)
downloadFreeBSD-src-d692d62069a3260289bed79af40dc1c910af8ca3.zip
FreeBSD-src-d692d62069a3260289bed79af40dc1c910af8ca3.tar.gz
After r232745, which makes sure __bswap16(), ntohs() and htons() return
__uint16_t, we can partially undo r228668. Note the remark "Work around a clang false positive with format string warnings and ntohs macros (see LLVM PR 11313)" was actually incorrect. Before r232745, on some arches, the ntohs() macros did in fact return int, not uint16_t, so clang was right in warning about the %hu format string. MFC after: 2 weeks
Diffstat (limited to 'usr.bin/bc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud