I get a warning
warning: comparison between pointer and integer
in a line containing if from the following code snippet:
char cwd[1024]; if (getcwd(cwd, sizeof(cwd)) != (char*)NULL) printf("%s\n",cwd); else error_print("error in pwd");
how and what do i need to fix?
SIMEL source share