--- trunk/reactos/lib/setupapi/queue.c 2005-08-01 09:05:20 UTC (rev 16936)
+++ trunk/reactos/lib/setupapi/queue.c 2005-08-01 09:08:07 UTC (rev 16937)
@@ -979,8 +979,8 @@
if ((GetFileAttributesW(target) != INVALID_FILE_ATTRIBUTES) &&
(GetFileAttributesW(source) != INVALID_FILE_ATTRIBUTES))
{
- VersionSizeSource = GetFileVersionInfoSizeW(source,&zero);
- VersionSizeTarget = GetFileVersionInfoSizeW(target,&zero);
+ VersionSizeSource = GetFileVersionInfoSizeW((LPWSTR)source,&zero);
+ VersionSizeTarget = GetFileVersionInfoSizeW((LPWSTR)target,&zero);
}
TRACE("SizeTarget %li ... SizeSource %li\n",VersionSizeTarget,
@@ -999,9 +999,9 @@
VersionSource = HeapAlloc(GetProcessHeap(),0,VersionSizeSource);
VersionTarget = HeapAlloc(GetProcessHeap(),0,VersionSizeTarget);
- ret = GetFileVersionInfoW(source,0,VersionSizeSource,VersionSource);
+ ret = GetFileVersionInfoW((LPWSTR)source,0,VersionSizeSource,VersionSource);
if (ret)
- ret = GetFileVersionInfoW(target, 0, VersionSizeTarget,
+ ret = GetFileVersionInfoW((LPWSTR)target, 0, VersionSizeTarget,
VersionTarget);
if (ret)