'lo evewybuddy
I have been fudging around with some C again, and get one compiler warning that I just do not comprehend. The warning is thus:
Now I know what the warning means, but not what sets it off. Line 18 looks like this:
fp is a file pointer. Now NULL is not a pointer, is it due to that? And if it is, how do I fix the warning?
I have been fudging around with some C again, and get one compiler warning that I just do not comprehend. The warning is thus:
Code:
sxmms.c: In function `xmms':
sxmms.c:18: warning: passing arg 2 of `fseek' makes integer from pointer without a cast
Code:
fseek(fp, NULL, SEEK_END);
fp is a file pointer. Now NULL is not a pointer, is it due to that? And if it is, how do I fix the warning?