Change-Id: Id2d0dfaafbb7bb9c6c0f4863e2c3822c8cd23018
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4803
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
}
CAEndpoint_t *tempInfo[CA_TRANSPORT_TYPE_NUM] = { 0 };
- size_t tempSize[CA_TRANSPORT_TYPE_NUM] = { 0 };
+ uint32_t tempSize[CA_TRANSPORT_TYPE_NUM] = { 0 };
CAResult_t res = CA_STATUS_FAILED;
size_t resSize = 0;
OIC_LOG_V(DEBUG,
TAG,
- "%d adapter network info size is %" PRIu32 " res:%d",
+ "%zu adapter network info size is %" PRIu32 " res:%d",
index,
tempSize[index],
res);
}
}
- OIC_LOG_V(DEBUG, TAG, "network info total size is %d!", resSize);
+ OIC_LOG_V(DEBUG, TAG, "network info total size is %zu!", resSize);
if (resSize == 0)
{