aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-10-13 14:05:32 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-10-13 14:05:32 +0300
commit8a5f879840bfe9933a6ff01792b42000de99f8c2 (patch)
treed27116a6ef50709b3f4975e544bf80107fb597a7
parentd227a477fd9f81b409298e4981b419430695c402 (diff)
Fix broken compilation on Windows
-rw-r--r--libpkgconf/pkg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpkgconf/pkg.c b/libpkgconf/pkg.c
index 9056965..d366fd3 100644
--- a/libpkgconf/pkg.c
+++ b/libpkgconf/pkg.c
@@ -620,7 +620,7 @@ pkgconf_pkg_find_in_registry_key(pkgconf_client_t *client, HKEY hkey, const char
while (RegEnumValue(key, i++, buf, &bufsize, NULL, NULL, NULL, NULL)
== ERROR_SUCCESS)
{
- char pathbuf[PKG_CONFIG_PATH_SZ];
+ char pathbuf[PKGCONF_SBUFSIZE];
DWORD type;
DWORD pathbuflen = sizeof pathbuf;