summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/stand
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-08-10 12:06:29 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-08-10 12:06:29 +0000
commit852c31761db5f882dcc38ed659309b6e188bf484 (patch)
tree4ca8abbf247a5886e79e5f3f40d8c0f34afb4ab6 /sys/arch/loongson/stand
parent1d43dcc83aec5f33219f55c8d8be9557647c154f (diff)
Cast int64_t to uint64_t for negating
Avoid signed integer overflow by casting an int64_t to uint64_t before negating. Same fix was applied in a_int.c -r1.44, but was forgotten to be applied to a_enum.c. ok jsing
Diffstat (limited to 'sys/arch/loongson/stand')
0 files changed, 0 insertions, 0 deletions