I'm trying to use strptime to convert a string to a time structure, but I'm getting this warning from gcc:
This is the line that is causing the problem:Code:main.c:198: warning: comparison between pointer and integer
Which should work according to information that I've found online, and the strptime man page. Anyone have any idea what's wrong?Code:if (strptime (timeString, "%Y-%m-%d", &dStart) == NULL)