From 8a5f879840bfe9933a6ff01792b42000de99f8c2 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 13 Oct 2017 14:05:32 +0300 Subject: Fix broken compilation on Windows --- libpkgconf/pkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpkgconf') 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; -- cgit v1.1