diff options
author | Maya Rashish <maya@NetBSD.org> | 2019-01-10 20:49:28 +0200 |
---|---|---|
committer | Maya Rashish <maya@NetBSD.org> | 2019-01-10 20:49:28 +0200 |
commit | c214ab0d7deae30acdf90933ed14b223118dcf67 (patch) | |
tree | 01dc334330dffe1c2ac9ceb0a3e32f6c6d4cd02f /util.c | |
parent | 8e34a2aa7c4dea5aa07dc08a40dacd90e2148a89 (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