aboutsummaryrefslogtreecommitdiff
path: root/missing/ssh:/git@gitrepo.FreeBSD.org/src.git
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2026-08-21 20:19:56 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-08-21 20:56:05 +0000
commit82a3337952b922c48c55d1359ab0472f1d116c7a (patch)
tree47bda0f11a6e54e104fd7628a4449ae2458ca2d2 /missing/ssh:/git@gitrepo.FreeBSD.org/src.git
parent8bea280f4325d10858ec58ae7251db7604fa77a2 (diff)
pmc: Use isascii(3) to check if a character is ASCIIHEADmain
The previous check did not work on architectures where `char` is unsigned as noted by GCC on aarch64: usr.sbin/pmc/view.cc: In member function 'void pmcview::loadsymboltable(image*, Elf*, Elf_Scn*, GElf_Shdr*)': usr.sbin/pmc/view.cc:627:38: error: comparison is always false due to limited range of data type [-Werror=type-limits] 627 | if (fname[i] < 0) { | ~~~~~~~~~^~~ Reported by: GCC 15
Diffstat (limited to 'missing/ssh:/git@gitrepo.FreeBSD.org/src.git')
0 files changed, 0 insertions, 0 deletions