winhttp: Do not use countof() on pointer argument

This commit is contained in:
Tobias Brunner
2014-07-02 12:38:45 +02:00
parent 831045ef45
commit 118b2879aa
@@ -211,7 +211,7 @@ static bool parse_uri(private_winhttp_fetcher_t *this, char *uri,
}
if (comps.dwExtraInfoLength)
{
wcsncat(path, extra, countof(path) - comps.dwUrlPathLength - 1);
wcsncat(path, extra, pathlen - comps.dwUrlPathLength - 1);
}
if (comps.nPort)
{