X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fcm_inet.h;h=8fefe778d4fbaf59c7edaeed93ba4b216b0a7f53;hb=5d74fef7c9fe6b65a965ceac6bfe812872dab323;hp=e90d00109598804d045b82d2125a9196bf85f11a;hpb=e7b5eab0138956edeae768a021be476f4a7a807f;p=o-du%2Fl2.git diff --git a/src/cm/cm_inet.h b/src/cm/cm_inet.h index e90d00109..8fefe778d 100644 --- a/src/cm/cm_inet.h +++ b/src/cm/cm_inet.h @@ -448,7 +448,7 @@ #ifdef IPV6_SUPPORTED #define CM_INET_COPY_IPV6ADDR(_addrToFill, _fromAddr) \ { \ - (Void)cmMemcpy((U8 *)_addrToFill, (U8 *)_fromAddr, sizeof(CmInetIpAddr6)); \ + memcpy(_addrToFill, _fromAddr, sizeof(CmInetIpAddr6)); \ } #if (defined(SUNOS) || defined(HPOS) || defined(SS_VW)) @@ -491,7 +491,7 @@ #ifdef SS_VW #define CM_COPY_VWIPADDR(vwIpAddr, addr) \ { \ - (Void)cmMemcpy((U8 *)addr, (U8 *)&vwIpAddr, sizeof(S32)); \ + memcpy(addr, &vwIpAddr, sizeof(S32)); \ } #endif