summaryrefslogtreecommitdiff
path: root/src/setup/setup_icon.c
diff options
context:
space:
mode:
authorSimon Howard2015-07-11 03:38:49 -0400
committerMike Swanson2015-08-24 14:19:04 -0700
commit7d884d24adff82c020c2663c9142b38ee189ddef (patch)
tree7c6fac776353330aefa9d20d074293097e615bac /src/setup/setup_icon.c
parent7c192af0d17f3f45d4208bc15cb1225b811aab74 (diff)
downloadchocolate-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/setup/setup_icon.c')
0 files changed, 0 insertions, 0 deletions