aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index cbc0c89cf3e..da32d6c095c 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2391,11 +2391,11 @@ file_name_case_insensitive_p (const char *filename)
2391 support the latter. */ 2391 support the latter. */
2392 2392
2393#ifdef _PC_CASE_INSENSITIVE 2393#ifdef _PC_CASE_INSENSITIVE
2394 int res = pathconf (filename, _PC_CASE_INSENSITIVE); 2394 long int res = pathconf (filename, _PC_CASE_INSENSITIVE);
2395 if (res >= 0) 2395 if (res >= 0)
2396 return res > 0; 2396 return res > 0;
2397#elif defined _PC_CASE_SENSITIVE 2397#elif defined _PC_CASE_SENSITIVE
2398 int res = pathconf (filename, _PC_CASE_SENSITIVE); 2398 long int res = pathconf (filename, _PC_CASE_SENSITIVE);
2399 if (res >= 0) 2399 if (res >= 0)
2400 return res == 0; 2400 return res == 0;
2401#endif 2401#endif