tcpdump mailing list archives
Error in the "strcat" function
From: "Adelmo Silva" <adelmojs () hotmail com>
Date: Fri, 02 Feb 2007 02:19:23 -0200
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]); WHERE string1 is a string with 15 positions and ips1 is a u_char pointer. Thanks for who helps me. Adelmo _________________________________________________________________Mande torpedos SMS do seu messenger para o celular dos seus amigos http://mobile.msn.com/
- 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)