{
Buffer *mBuf;
- if(ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
printf("\nSCTP : Failed to allocate memory");
return RFAILED;
uint8_t cmUnpkSctpNtfy(SctpNtfy func, Pst *pst, Buffer *mBuf)
{
CmInetSctpNotification ntfy;
- memset((uint8_t*)&ntfy, 0, sizeof(CmInetSctpNotification));
+ memset(&ntfy, 0, sizeof(CmInetSctpNotification));
oduPackUInt16(&(ntfy.header.nType), mBuf);
if(ntfy.header.nType == CM_INET_SCTP_ASSOC_CHANGE)