summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2012-06-10 23:31:59 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-06-11 19:00:37 +0200
commit61d152384e71a152dfbcfb7c18bb5fed753c7435 (patch)
treeeddfcac0158e50bd09339acc97e8fd98399c258b
parent0c86ccc64703c247f3cc1aceab4534edeb7db068 (diff)
downloadcurl-61d152384e71a152dfbcfb7c18bb5fed753c7435.tar.gz
sspi: Fixed incompatible parameter pointer type in Curl_sspi_version
-rw-r--r--lib/curl_sspi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/curl_sspi.c b/lib/curl_sspi.c
index 3f4176214..80b929f70 100644
--- a/lib/curl_sspi.c
+++ b/lib/curl_sspi.c
@@ -124,6 +124,7 @@ CURLcode Curl_sspi_version(int *major, int *minor, int *build, int *special)
LPTSTR path = NULL;
LPVOID data = NULL;
DWORD size, handle;
+ UINT length;
if(!s_hSecDll)
return CURLE_FAILED_INIT;
@@ -138,7 +139,7 @@ CURLcode Curl_sspi_version(int *major, int *minor, int *build, int *special)
data = malloc(size);
if(data) {
if(GetFileVersionInfo(path, handle, size, data)) {
- if(!VerQueryValue(data, "\\", &version_info, &handle))
+ if(!VerQueryValue(data, "\\", (LPVOID*) &version_info, &length))
result = CURLE_OUT_OF_MEMORY;
}
else