summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorMaya Rashish <maya@NetBSD.org>2019-01-10 20:49:28 +0200
committerMaya Rashish <maya@NetBSD.org>2019-01-10 20:49:28 +0200
commitc214ab0d7deae30acdf90933ed14b223118dcf67 (patch)
tree01dc334330dffe1c2ac9ceb0a3e32f6c6d4cd02f /util.c
parent8e34a2aa7c4dea5aa07dc08a40dacd90e2148a89 (diff)
Avoid undefined behaviour
Left shifting a negative is undefined. For consistency, use the equivalent form of multiplication for the positive numbers as well.
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions