Compile warning in a_randomspawner.cpp

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

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 Reply
Blue Shadow
Posts: 5046
Joined: Sun Nov 14, 2010 12:59 am

Compile warning in a_randomspawner.cpp

Post by Blue Shadow »

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]
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: Compile warning in a_randomspawner.cpp

Post by _mental_ »

Nothing dangerous but worth fixing to have a build log free from warnings. Fixed here.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Compile warning in a_randomspawner.cpp

Post by Graf Zahl »

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

Return to “Closed Bugs [GZDoom]”