}
}
- OIC_LOG_V(DEBUG, TAG, "Numer of registered sub-owner=%d", numberOfSubOwner);
+ OIC_LOG_V(DEBUG, TAG, "Numer of registered sub-owner=%zd", numberOfSubOwner);
OIC_LOG_V(DEBUG, TAG, "Out %s", __func__);
return numberOfSubOwner;
}
else
{
- OIC_LOG_V(ERROR, TAG, "Number of sub-owner exceeded : (MAX SIZE=%d)", gMaxSubOwnerSize);
+ OIC_LOG_V(ERROR, TAG, "Number of sub-owner exceeded : (MAX SIZE=%zd)", gMaxSubOwnerSize);
//Close DTLS session
if (CA_STATUS_OK != CAcloseSslSession(endpoint))
#ifdef MULTIPLE_OWNER
if (MAX_SUBOWNER_SIZE < numOfSubOwner || MIN_SUBOWNER_SIZE > numOfSubOwner)
{
- OIC_LOG_V(ERROR, TAG, "Invalid number of sub owner : %d", numOfSubOwner);
+ OIC_LOG_V(ERROR, TAG, "Invalid number of sub owner : %zd", numOfSubOwner);
return OC_STACK_INVALID_PARAM;
}
gMaxSubOwnerSize = numOfSubOwner;
- OIC_LOG_V(DEBUG, TAG, "Number of SubOwner = %d", gMaxSubOwnerSize);
+ OIC_LOG_V(DEBUG, TAG, "Number of SubOwner = %zd", gMaxSubOwnerSize);
OIC_LOG_V(DEBUG, TAG, "Out %s", __func__);
return OC_STACK_OK;
#else