winemenubuilder: Win64 printf format warning fixes.

This commit is contained in:
Michael Stefaniuc 2006-10-02 23:22:58 +02:00 committed by Alexandre Julliard
parent ae48a51947
commit 8c2cdf7b6f
2 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,6 @@ MODULE = winemenubuilder.exe
APPMODE = -mwindows APPMODE = -mwindows
IMPORTS = shell32 ole32 user32 advapi32 kernel32 IMPORTS = shell32 ole32 user32 advapi32 kernel32
EXTRALIBS = -luuid EXTRALIBS = -luuid
EXTRADEFS = -DWINE_NO_LONG_AS_INT
C_SRCS = \ C_SRCS = \
winemenubuilder.c winemenubuilder.c

View File

@ -278,7 +278,7 @@ static BOOL extract_icon32(LPCWSTR szFileName, int nIndex, const char *szXPMFile
hModule = LoadLibraryExW(szFileName, 0, LOAD_LIBRARY_AS_DATAFILE); hModule = LoadLibraryExW(szFileName, 0, LOAD_LIBRARY_AS_DATAFILE);
if (!hModule) if (!hModule)
{ {
WINE_ERR("LoadLibraryExW (%s) failed, error %ld\n", WINE_ERR("LoadLibraryExW (%s) failed, error %d\n",
wine_dbgstr_w(szFileName), GetLastError()); wine_dbgstr_w(szFileName), GetLastError());
return FALSE; return FALSE;
} }
@ -286,7 +286,7 @@ static BOOL extract_icon32(LPCWSTR szFileName, int nIndex, const char *szXPMFile
if (nIndex < 0) if (nIndex < 0)
{ {
hResInfo = FindResourceW(hModule, MAKEINTRESOURCEW(-nIndex), (LPCWSTR)RT_GROUP_ICON); hResInfo = FindResourceW(hModule, MAKEINTRESOURCEW(-nIndex), (LPCWSTR)RT_GROUP_ICON);
WINE_TRACE("FindResourceW (%s) called, return %p, error %ld\n", WINE_TRACE("FindResourceW (%s) called, return %p, error %d\n",
wine_dbgstr_w(szFileName), hResInfo, GetLastError()); wine_dbgstr_w(szFileName), hResInfo, GetLastError());
} }
else else
@ -297,7 +297,7 @@ static BOOL extract_icon32(LPCWSTR szFileName, int nIndex, const char *szXPMFile
if (!EnumResourceNamesW(hModule, (LPCWSTR)RT_GROUP_ICON, if (!EnumResourceNamesW(hModule, (LPCWSTR)RT_GROUP_ICON,
EnumResNameProc, (LONG_PTR)&sEnumRes)) EnumResNameProc, (LONG_PTR)&sEnumRes))
{ {
WINE_TRACE("EnumResourceNamesW failed, error %ld\n", GetLastError()); WINE_TRACE("EnumResourceNamesW failed, error %d\n", GetLastError());
} }
} }