diff options
author | Simon Howard | 2015-07-11 03:38:49 -0400 |
---|---|---|
committer | Mike Swanson | 2015-08-24 14:19:04 -0700 |
commit | 7d884d24adff82c020c2663c9142b38ee189ddef (patch) | |
tree | 7c6fac776353330aefa9d20d074293097e615bac /src/w_merge.h | |
parent | 7c192af0d17f3f45d4208bc15cb1225b811aab74 (diff) | |
download | chocolate-doom-7d884d24adff82c020c2663c9142b38ee189ddef.tar.gz chocolate-doom-7d884d24adff82c020c2663c9142b38ee189ddef.tar.bz2 chocolate-doom-7d884d24adff82c020c2663c9142b38ee189ddef.zip |
doom: Avoid overflow for spawn angle calculation.
Integer overflow is undefined and this breaks when using Clang with
-O2 optimization turned on. This fixes #572 (thanks to David Majnemer
for insight into fixing this bug).
Diffstat (limited to 'src/w_merge.h')
0 files changed, 0 insertions, 0 deletions