Compile warning in a_randomspawner.cpp

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Compile warning in a_randomspawner.cpp

Re: Compile warning in a_randomspawner.cpp

by Graf Zahl » Sun Oct 11, 2015 1:41 am

Actually, I have seen compilers that do not do a proper conversion for this and instead produce something broken.

Re: Compile warning in a_randomspawner.cpp

by _mental_ » Sun Oct 11, 2015 12:32 am

Nothing dangerous but worth fixing to have a build log free from warnings. Fixed here.

Compile warning in a_randomspawner.cpp

by Blue Shadow » Sat Oct 10, 2015 8:59 pm

Compiling: 2.8pre-1797-gba651eb

Code: Select all

C:\Users\Night Creature\Repos\zdoom\src\g_shared\a_randomspawner.cpp(32): warning C4800: 'DWORD' : forcing value to bool 'true' or 'false' (performance warning) [C:\Users\Night Creature\Repos\zdoom_builds\src\zdoom.vcxproj]

Top