If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hybrid View

Strange qsort issue in C/GCC

I have written the code below attempting to narrow down my problem to a small section of code to get some help with the issue. It returns the warning:
"tmain.c:16: warning: passing argument 4 of ‘qsort’ from incompatible pointer type"

The code seems to work in that it will actually sort the array, but I cant help but wonder if something is slightly wrong and will blow up later.
I am running Fedora 10 and compiling it with gcc -c [file name] (gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) )
Thank you for the help.

* The Perfect Platform for Game Developers: Android
Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers.

* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.