- Fix warnings
Modified: trunk/reactos/subsys/system/winefile/winefile.c
_____
Modified: trunk/reactos/subsys/system/winefile/winefile.c
--- trunk/reactos/subsys/system/winefile/winefile.c 2005-07-27
00:54:07 UTC (rev 16767)
+++ trunk/reactos/subsys/system/winefile/winefile.c 2005-07-27
00:55:36 UTC (rev 16768)
@@ -1821,12 +1821,12 @@
static TCHAR sTranslation[] =
{'\\','V','a','r','F','i','l','e','I','n','f','o','\\','T','r','a','n','
s','l','a','t','i','o','n','\0'};
static TCHAR sStringFileInfo[] =
{'\\','S','t','r','i','n','g','F','i','l','e','I','n','f','o','\\',
'%','0','4','x','%','0','4','x','\\','%','s','\0'};
- DWORD dwVersionDataLen = GetFileVersionInfoSize(strFilename,
NULL);
+ DWORD dwVersionDataLen =
GetFileVersionInfoSize((LPWSTR)strFilename, NULL);
if (dwVersionDataLen) {
dlg->pVersionData = malloc(dwVersionDataLen);
- if (GetFileVersionInfo(strFilename, 0, dwVersionDataLen,
dlg->pVersionData)) {
+ if (GetFileVersionInfo((LPWSTR)strFilename, 0,
dwVersionDataLen, dlg->pVersionData)) {
LPVOID pVal;
UINT nValLen;