hi I'm programming with stdlib under linux.
The gcc emits the following warning for the following line of code, any idea why is that?
FILE *fd;
if ( fd = fopen( filename, "rw" )== NULL )
{
and the warning is:
warning: assignment makes pointer from integer without a cast.
How this can be happen , according to the stdlib documentation the return type of fopen is FILE*. So why there is a warning still there?Any idea?
--Thanks In Advance--