Re: Keep getting a warning.. Can someone please tell me why?



Jim wrote:
For some reason I keep getting the following error when compiling with
GCC. The program compiles and runs fine, but I get this error:

lab4b.c: In function 'main':
lab4b.c:47: warning: passing argument 1 of 'displayPtrArray' from
incompatible pointer type

You've wandered into one of the odd and poorly-lit
corners of the language, which you can illuminate by
burning a copy of Question 11.10 of the comp.lang.c
Frequently Asked Questions (FAQ) list:

http://www.c-faq.com/

The dancing flames may or may not make you happy,
but they might keep you warm.

--
Eric.Sosman@xxxxxxx
.



Relevant Pages