Diff for /embedaddon/mpd/src/ecp_dese_bis.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2016/11/01 09:56:12 version 1.1.1.3, 2021/03/17 00:39:23
Line 104  DeseBisConfigure(Bund b) Line 104  DeseBisConfigure(Bund b)
 static int  static int
 DeseBisSubtractBloat(Bund b, int size)  DeseBisSubtractBloat(Bund b, int size)
 {  {
     (void)b;
   size -= DES_OVERHEAD; /* reserve space for header */    size -= DES_OVERHEAD; /* reserve space for header */
   size &= ~0x7;    size &= ~0x7;
   size--;               /* reserve space for possible padding */    size--;               /* reserve space for possible padding */
Line 322  DeseBisBuildConfigReq(Bund b, u_char *cp) Line 323  DeseBisBuildConfigReq(Bund b, u_char *cp)
   EcpState      const ecp = &b->ecp;    EcpState      const ecp = &b->ecp;
   DeseBisInfo   const des = &ecp->desebis;    DeseBisInfo   const des = &ecp->desebis;
   
  ((u_int32_t *) des->xmit_ivec)[0] = random();  ((u_int32_t *)(void *) des->xmit_ivec)[0] = random();
  ((u_int32_t *) des->xmit_ivec)[1] = random();  ((u_int32_t *)(void *) des->xmit_ivec)[1] = random();
   return(FsmConfValue(cp, ECP_TY_DESE_bis, 8, des->xmit_ivec));    return(FsmConfValue(cp, ECP_TY_DESE_bis, 8, des->xmit_ivec));
 }  }
   

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>