Avoid a warning when compiling in debugging mode
This commit is contained in:
parent
b66080545b
commit
09a9e2f079
|
@ -223,7 +223,7 @@ String * cpp_path_lookup(Cpp * cpp, char const * filename, int system)
|
|||
buf = p;
|
||||
sprintf(buf, "%s/%s", cpp->paths[i], filename);
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "DEBUG: stat(\"%s\", %p)\n", buf, &st);
|
||||
fprintf(stderr, "DEBUG: stat(\"%s\", %p)\n", buf, (void *)&st);
|
||||
#endif
|
||||
if(stat(buf, &st) == 0)
|
||||
return buf;
|
||||
|
|
Loading…
Reference in New Issue
Block a user