I am getting this warning "warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)" on below line of code :
if (g_objConfigurationDetails.bAutoScan != m_objScanNASBtn.GetCheck())
{
g_objConfigurationDetails.bAutoScan = m_objScanNASBtn.GetCheck();
}
both the lines are giving the same warning. where bAutoScan = bool m_objScanNASBtn = CButton