bearermanagement/S60MCPR/src/s60mcprstates.cpp
branchRCL_3
changeset 58 83ca720e2b9a
parent 57 05bc53fe583b
child 62 bb1f80fb7db2
--- 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())