unsigned int test=1;
if(test)
{
//do something
}
if(test==1)
{
//do something
}
These two if-conditions are equivalent, right? I am currently debugging a bigger program, where this makes a difference. But it should have no side effects, right?