X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Flsctp.c;h=1641bc4be89208ae97f61acf57aeaf37dc5ebcd1;hb=5d74fef7c9fe6b65a965ceac6bfe812872dab323;hp=f527b19551455d06bc55d6fcc41a59dc569494c4;hpb=e7b5eab0138956edeae768a021be476f4a7a807f;p=o-du%2Fl2.git diff --git a/src/cm/lsctp.c b/src/cm/lsctp.c index f527b1955..1641bc4be 100644 --- a/src/cm/lsctp.c +++ b/src/cm/lsctp.c @@ -83,7 +83,7 @@ uint8_t cmPkSctpNtfy(Pst *pst, CmInetSctpNotification *ntfy) 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)