Implicit typecast fix for vd build 47/192347/1
authorAmit KS <amit.s12@samsung.com>
Thu, 1 Nov 2018 10:05:35 +0000 (15:35 +0530)
committerAmit KS <amit.s12@samsung.com>
Fri, 2 Nov 2018 10:53:16 +0000 (16:23 +0530)
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/332
(cherry picked from commit 543625f924cd772f6d2fb37523b4378b364ee85a)

Change-Id: If333b26bbac68ed575d1a9b88f5518b4f86dffd1
Signed-off-by: Amit KS <amit.s12@samsung.com>
service/easy-setup/enrollee/src/samsung/sc_easysetup.c

index 70d22b5..b4cdc0e 100644 (file)
@@ -341,7 +341,7 @@ void ReadUserdataCb(OCRepPayload* payload, char* resourceType, void** userdata)
                        pWifiConfProp->candidateAPInfo[i].channel = (int) cd_channel;
                        g_SCProperties.candidateAPInfo[i].channel = cd_channel;
                                               OIC_LOG_V(INFO_PRIVATE, SC_ENROLLEE_TAG, "[User specific property] %s : %d",
-                            SC_RSRVD_ES_VENDOR_CANDIDATE_CHANNEL, cd_channel);
+                            SC_RSRVD_ES_VENDOR_CANDIDATE_CHANNEL, (int) cd_channel);
                    }
                    if (OCRepPayloadGetPropString(repPayload[i], SC_RSRVD_ES_VENDOR_BSSID, &cd_bssid))
                    {