Fixed Visual Studio compiler warnings
This commit is contained in:
parent
93b21c6cc5
commit
c7e2a198cb
|
@ -112,7 +112,7 @@ void CheckAssignIf::comparison()
|
|||
}
|
||||
}
|
||||
|
||||
void CheckAssignIf::comparisonError(const Token *tok, int value1, const std::string &op, int value2, bool result)
|
||||
void CheckAssignIf::comparisonError(const Token *tok, MathLib::bigint value1, const std::string &op, MathLib::bigint value2, bool result)
|
||||
{
|
||||
std::ostringstream expression;
|
||||
expression << std::hex << "(X & 0x" << value1 << ") " << op << " 0x" << value2;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
//---------------------------------------------------------------------------
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include "mathlib.h"
|
||||
|
||||
/// @addtogroup Checks
|
||||
/// @{
|
||||
|
@ -65,9 +65,9 @@ private:
|
|||
void assignIfError(const Token *tok, bool result);
|
||||
|
||||
void comparisonError(const Token *tok,
|
||||
int value1,
|
||||
MathLib::bigint value1,
|
||||
const std::string &op,
|
||||
int value2,
|
||||
MathLib::bigint value2,
|
||||
bool result);
|
||||
|
||||
void multiConditionError(const Token *tok, unsigned int line1);
|
||||
|
|
Loading…
Reference in New Issue