[求助]程序出错 大家来看看啊
warning: passing arg 1 of `IPFilterInitialize' makes poin ter from integer without a cast
D:\test\ipfilter\ipfilter.c:430: warning: passing arg 1 of `UpdateIdListTtl' makes pointer
from integer without a cast
D:\test\ipfilter\ipfilter.c:431: warning: passing arg 1 of `AutoDeleteIdList' makes pointe
r from integer without a cast
D:\test\ipfilter\ipfilter.c:436: warning: passing arg 1 of `UpdateIdListTtl' makes pointer
from integer without a cast
D:\test\ipfilter\ipfilter.c:437: warning: passing arg 1 of `AutoDeleteIdList' makes pointe
r from integer without a cast
上面是错误
if(IPFilterInitialize(pIdList))
{
if(IsValidHeader(Packet, PacketLength))
{
if(pIp->Offset == 0x02)
{
UpdateIdListTtl(pIdList);
AutoDeleteIdList(pIdList);
return CheckIdList(Packet);
}
else
{
UpdateIdListTtl(pIdList);
AutoDeleteIdList(pIdList);
return CheckAccessList(Packet, &AcsListHeader, pIdList);
下面是程序 高手给看看啊 谢谢......