当前位置: 代码迷 >> C语言 >> [求助]程序出错 大家来看看啊
  详细解决方案

[求助]程序出错 大家来看看啊

热度:111   发布时间:2006-06-13 10:28:37.0
[求助]程序出错 大家来看看啊
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);
下面是程序 高手给看看啊 谢谢......

搜索更多相关的解决方案: ipfilter  arg  passing  warning  cast  

----------------解决方案--------------------------------------------------------
pIdList定义有问题吧
----------------解决方案--------------------------------------------------------
看不懂。无能为力~呵呵~~~这是什么呀?压根没看明白。。。
----------------解决方案--------------------------------------------------------
改好了 谢谢 唉 DEBUG真是一件痛苦的事情啊
----------------解决方案--------------------------------------------------------
做一个防火墙的程序 建立在TCP/IP的基础上的 呵呵 只是上来问问代码的问题而已 还有十几个错误呢 唉
----------------解决方案--------------------------------------------------------
在迷糊中倒下。。。T。T
----------------解决方案--------------------------------------------------------

我晕,咱从来都没看过呢


----------------解决方案--------------------------------------------------------
  相关解决方案