diff -r 05bc53fe583b -r 83ca720e2b9a bearermanagement/S60MCPR/src/s60mcprstates.cpp --- a/bearermanagement/S60MCPR/src/s60mcprstates.cpp Tue Aug 31 15:35:44 2010 +0300 +++ b/bearermanagement/S60MCPR/src/s60mcprstates.cpp Wed Sep 01 12:23:51 2010 +0100 @@ -368,10 +368,10 @@ // Only EIntSetting is supported // - if ( msg - && msg->iSettingType == TMCprGetConnectionSetting::EIntSetting - && node.PolicyPrefs().ServiceId() != 0 - && field.Compare( KIapProxyServiceSetting ) == 0 ) + if ( ( TMCprGetConnectionSetting::TConnectionSettingType)msg->iSettingType == + TMCprGetConnectionSetting::EIntSetting + && node.PolicyPrefs().ServiceId() != 0 + && field.Compare( KIapProxyServiceSetting ) == 0 ) { S60MCPRLOGSTRING1("S60MCPR<%x>::TAwaitingServiceIdRequest::Accept() TMCprGetConnectionSetting EIntSetting", (TInt*)&iContext.Node())