aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;