tcpdump mailing list archives
Re: Error in the "strcat" function
From: "Jin YunYe" <yunyejin () gmail com>
Date: Fri, 2 Feb 2007 20:29:42 +0800
Hi On 2/2/07, Adelmo Silva <adelmojs () hotmail com> wrote:
Hello, I have a error: debian:/home/adelmojs/MONOGRAFIA# gcc teste1.c -lpcap -o teste1 teste1.c: In function 'SNIFFER': teste1.c:294: warning: passing argument 2 of 'strcat' makes pointer from integer without a cast teste1.c:294: error: incompatible types in assignment THE LINE 294 HAS: string1 = strcat(string1,ips1[i]);
Could you quote the line where you declare "string1" and "ips1" in your program? Thanks YY - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Patch to release File Descriptors in pcap-dag.c Florent . Drouin (Jan 30)
- Re: Patch to release File Descriptors in pcap-dag.c Guy Harris (Jan 31)
- Re: Patch to release File Descriptors in pcap-dag.c Florent . Drouin (Feb 01)
- Error in the "strcat" function Adelmo Silva (Feb 01)
- Re: Error in the "strcat" function Jin YunYe (Feb 02)
- Re: Error in the "strcat" function Adelmo Silva (Feb 02)
- Re: Error in the "strcat" function Guy Harris (Feb 02)
- Re: Error in the "strcat" function Adelmo Silva (Feb 03)
- Re: Error in the "strcat" function Guy Harris (Feb 19)
- Re: Patch to release File Descriptors in pcap-dag.c Florent . Drouin (Feb 01)
- Re: Patch to release File Descriptors in pcap-dag.c Guy Harris (Jan 31)
- BPF ADVANCED FILTERS Adelmo Silva (Feb 02)
- Re: BPF ADVANCED FILTERS Richard Bejtlich (Feb 02)
- Re: Patch to release File Descriptors in pcap-dag.c Guy Harris (Feb 07)