mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
silenced format mismatch warning on 64bit OS
This commit is contained in:
parent
dd09bfbb45
commit
fe77c5dccb
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
|||||||
VDR Plugin 'streamdev' Revision History
|
VDR Plugin 'streamdev' Revision History
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
- silenced format mismatch warning on 64bit OS
|
||||||
- added XBMC support by extending VTP capabilities (thanks to Alwin Esch)
|
- added XBMC support by extending VTP capabilities (thanks to Alwin Esch)
|
||||||
- now there's a common baseclass for all remuxers, make use of it
|
- now there's a common baseclass for all remuxers, make use of it
|
||||||
- added cDevice::NumProvidedSystems() which was introduced in VDR 1.7.0
|
- added cDevice::NumProvidedSystems() which was introduced in VDR 1.7.0
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: componentIGMP.c,v 1.1 2009/02/13 10:39:22 schmirl Exp $
|
* $Id: componentIGMP.c,v 1.2 2009/07/03 21:44:19 schmirl Exp $
|
||||||
*/
|
*/
|
||||||
#include <netinet/ip.h>
|
#include <netinet/ip.h>
|
||||||
#include <netinet/igmp.h>
|
#include <netinet/igmp.h>
|
||||||
@ -209,7 +209,7 @@ cServerConnection* cComponentIGMP::Accept(void)
|
|||||||
igmp->igmp_cksum = 0;
|
igmp->igmp_cksum = 0;
|
||||||
if (chksum != inetChecksum((uint16_t *)igmp, ip_datalen))
|
if (chksum != inetChecksum((uint16_t *)igmp, ip_datalen))
|
||||||
{
|
{
|
||||||
esyslog("INVALID CHECKSUM %d %d %d %d 0x%x 0x%x", ntohs(ip->ip_len), ip_hdrlen, ip_datalen, recv_len, chksum, inetChecksum((uint16_t *)igmp, ip_datalen));
|
esyslog("INVALID CHECKSUM %d %d %d %lu 0x%x 0x%x", (int) ntohs(ip->ip_len), ip_hdrlen, ip_datalen, (unsigned long int) recv_len, chksum, inetChecksum((uint16_t *)igmp, ip_datalen));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
logIGMP(igmp->igmp_type, ip->ip_src, ip->ip_dst, igmp->igmp_group);
|
logIGMP(igmp->igmp_type, ip->ip_src, ip->ip_dst, igmp->igmp_group);
|
||||||
|
Loading…
Reference in New Issue
Block a user