Avoid a warning when compiling in debugging mode

This commit is contained in:
Pierre Pronchery 2014-07-29 00:35:06 +02:00
parent b66080545b
commit 09a9e2f079

View File

@ -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;