Bug 1057793: Fix build warning on MSVC 2013, r=keeler

--HG--
extra : rebase_source : eb908d0f3d313991cab78d707c7f666ab9d9eaf5
extra : histedit_source : 3d69a511f82895d8b741960205e96488b4f2ebbb
This commit is contained in:
Brian Smith 2014-08-17 16:49:19 -07:00
parent 14b2dc51ab
commit 8481c3757f

View File

@ -104,7 +104,7 @@ static const Result Success = Result::Success;
inline bool
IsFatalError(Result rv)
{
return static_cast<unsigned int>(rv) & FATAL_ERROR_FLAG;
return (static_cast<unsigned int>(rv) & FATAL_ERROR_FLAG) != 0;
}
inline Result