summaryrefslogtreecommitdiff
path: root/sys/modules/exec_script
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2023-07-08 16:13:00 +0000
committerrillig <rillig@NetBSD.org>2023-07-08 16:13:00 +0000
commit9299a7c5194512b0d5ea06c7b286d4bae6640791 (patch)
treec91e393a4af29d255b4af29197c80f1202c0f6f2 /sys/modules/exec_script
parent96e65dba728fddd2104244f530812358469a0896 (diff)
lint: warn about pointer casts between different kinds of types
Pointer casts from an integer type to a floating-point type and vice versa get a 'maybe troublesome' warning now. The previous assumption that all types of the same bit-size are convertible may have been valid from a technical point of view, but still such code should get more attention. The rules for struct and union types could be made more fine-grained later, if the need arises. To suppress this warning, it's always possible to cast to an intermediate 'void *'.
Diffstat (limited to 'sys/modules/exec_script')
0 files changed, 0 insertions, 0 deletions