lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #43081] The crash error for the active LWIP_NETBUF_REC


From: Joel Cunningham
Subject: [lwip-devel] [bug #43081] The crash error for the active LWIP_NETBUF_RECVINFO option in api_msg.c (lwip-1.4.1)
Date: Wed, 27 Aug 2014 13:45:58 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36

Follow-up Comment #5, bug #43081 (project lwip):

The comment formatting is messing things up.  It is combining "* )" into bold
formatting.  So there never was a (void) cast

My original post was the same cast as you suggested (just the comment
formatting messed it up):

const struct udp_hdr* udphdr = (void * )(((char)iphdr) + (IPH_HL(iphdr) *
4));

Optionally we could use the correct type in our cast if we really wanted too

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?43081>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]