From 7d24e5922937beb0a2c2b47d6fab86c5c19ec1d0 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 17 Jun 2012 16:18:36 +0200 Subject: [PATCH] wininet: Use the correct struct in a sizeof. --- dlls/wininet/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 3d0ae34ae7a..1788bf25dad 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -2129,7 +2129,7 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe INTERNET_CERTIFICATE_INFOA *info = (INTERNET_CERTIFICATE_INFOA*)buffer; DWORD len; - memset(info, 0, sizeof(INTERNET_CERTIFICATE_INFOW)); + memset(info, 0, sizeof(*info)); info->ftExpiry = context->pCertInfo->NotAfter; info->ftStart = context->pCertInfo->NotBefore; len = CertNameToStrA(context->dwCertEncodingType, -- 2.11.4.GIT