Revert commit e40175ef05: Fix a few more CLANG alignment warnings - clang warns although the target struct is packed (and may therefore be unaligned) :-(

It was caused by a local problem on my PC, I forgot that I modified cc.h... :-( Sorry for that!
This commit is contained in:
Dirk Ziegelmeier
2016-06-28 21:54:48 +02:00
parent 500e748888
commit a0e8c2dd8f
2 changed files with 5 additions and 5 deletions

View File

@@ -253,7 +253,7 @@ netbiosns_recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t
if (p != NULL) {
char netbios_name[NETBIOS_NAME_LEN+1];
struct netbios_hdr* netbios_hdr = (struct netbios_hdr*)p->payload;
struct netbios_name_hdr* netbios_name_hdr = (struct netbios_name_hdr*)(void*)(netbios_hdr+1);
struct netbios_name_hdr* netbios_name_hdr = (struct netbios_name_hdr*)(netbios_hdr+1);
/* we only answer if we got a default interface */
if (netif_default != NULL) {