From d7760f78fadb6e368270bbd6f88060e5f4ee0564 Mon Sep 17 00:00:00 2001 From: schmirl Date: Fri, 3 Jul 2009 21:42:08 +0000 Subject: [PATCH] silenced format mismatch warning on 64bit OS --- HISTORY | 1 + server/componentIGMP.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index dc05c17..cf95bd1 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,7 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- silenced format mismatch warning on 64bit OS - now there's a common baseclass for all remuxers, make use of it - added namespace to remuxers - increased WRITERBUFSIZE - buffer was too small for high bandwidth content diff --git a/server/componentIGMP.c b/server/componentIGMP.c index 53e78d1..aad473c 100644 --- a/server/componentIGMP.c +++ b/server/componentIGMP.c @@ -1,5 +1,5 @@ /* - * $Id: componentIGMP.c,v 1.1.2.2 2009/02/13 10:39:42 schmirl Exp $ + * $Id: componentIGMP.c,v 1.1.2.3 2009/07/03 21:42:08 schmirl Exp $ */ #include #include @@ -209,7 +209,7 @@ cServerConnection* cComponentIGMP::Accept(void) igmp->igmp_cksum = 0; 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; } logIGMP(igmp->igmp_type, ip->ip_src, ip->ip_dst, igmp->igmp_group);