Commit 54e90219 authored by hyuna0213.jo's avatar hyuna0213.jo Committed by Ashok Babu Channa

Fix windows build failed about incompatible types in jenkins

- resolve incompatible types error to build windows

Change-Id: I5095bb7de066eb966316812d57728361c685a811
Signed-off-by: default avatarhyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14533Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: default avatarDan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: default avatarDave Thaler <dthaler@microsoft.com>
Reviewed-by: default avatarAshok Babu Channa <ashok.channa@samsung.com>
parent 2bd1359a
......@@ -77,10 +77,10 @@ static CAAdapterChangeCallback g_networkChangeCallback = NULL;
static CAErrorHandleCallback g_errorCallback = NULL;
static void CAIPPacketReceivedCB(const CASecureEndpoint_t *endpoint,
const void *data, uint32_t dataLength);
const void *data, size_t dataLength);
#ifdef __WITH_DTLS__
static int32_t CAIPPacketSendCB(CAEndpoint_t *endpoint,
const void *data, uint32_t dataLength);
static ssize_t CAIPPacketSendCB(CAEndpoint_t *endpoint,
const void *data, size_t dataLength);
#endif
#ifndef SINGLE_THREAD
......@@ -151,7 +151,7 @@ void CAIPAdapterHandler(CATransportAdapter_t adapter, CANetworkStatus_t status)
}
#ifdef __WITH_DTLS__
static int32_t CAIPPacketSendCB(CAEndpoint_t *endpoint, const void *data, uint32_t dataLength)
static ssize_t CAIPPacketSendCB(CAEndpoint_t *endpoint, const void *data, size_t dataLength)
{
VERIFY_NON_NULL_RET(endpoint, TAG, "endpoint is NULL", -1);
VERIFY_NON_NULL_RET(data, TAG, "data is NULL", -1);
......@@ -163,7 +163,7 @@ static int32_t CAIPPacketSendCB(CAEndpoint_t *endpoint, const void *data, uint32
void CAIPPacketReceivedCB(const CASecureEndpoint_t *sep, const void *data,
uint32_t dataLength)
size_t dataLength)
{
VERIFY_NON_NULL_VOID(sep, TAG, "sep is NULL");
VERIFY_NON_NULL_VOID(data, TAG, "data is NULL");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment