missing end of pack pragma in pcap.c

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

 



Hallo,

I'm currently porting PJSIP for Blackfin with VDK.

I think there is an end of #pragma pack() missing in pcap.c
The struct pj_pcap_file should on my opinion not be packed.
This leads to warnings because of potentially misaligned access:
warning: taking the address of a misaligned field is not recommended 
status = pj_file_open(pool, path, PJ_O_RDONLY, &file->fd);
Luckily it is not really misaligned. But I think pj_pcap_file is not 
needed to be packed.

Best regards,
Sandra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20160319/7be8c2e3/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux