diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2013-05-01 07:25:29 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2013-05-20 05:56:50 -0700 |
commit | a65ee007bbd7a0bda0709251c9a063d794b51a14 (patch) | |
tree | 0e07f957df1ff3d5ce947b478599a3f8f36425bb | |
parent | 0efb668bd5990f52a6a93b2cde037185edbe11b0 (diff) | |
download | pkg-config-a65ee007bbd7a0bda0709251c9a063d794b51a14.tar.gz |
Avoid const warning on Win32
scan_dir() alters the directory name in place on Win32 to convert \ to
/, so it can't be treated as const.
-rw-r--r-- | pkg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ name_ends_in_uninstalled (const char *str) * locations, ignoring duplicates */ static void -scan_dir (const char *dirname) +scan_dir (char *dirname) { DIR *dir; struct dirent *dent; |