shlwapi: Fix some printf format warnings.

This commit is contained in:
Alexandre Julliard 2012-01-17 14:59:02 +01:00
parent 902915f667
commit 51bba9ee07
1 changed files with 2 additions and 8 deletions
dlls/shlwapi

View File

@ -865,10 +865,7 @@ BOOL WINAPI StrToIntExA(LPCSTR lpszStr, DWORD dwFlags, LPINT lpiRet)
WARN("Invalid parameter would crash under Win32!\n");
return FALSE;
}
if (dwFlags > STIF_SUPPORT_HEX)
{
WARN("Unknown flags (%08X)!\n", dwFlags & ~STIF_SUPPORT_HEX);
}
if (dwFlags > STIF_SUPPORT_HEX) WARN("Unknown flags %08x\n", dwFlags);
/* Skip leading space, '+', '-' */
while (isspace(*lpszStr))
@ -935,10 +932,7 @@ BOOL WINAPI StrToIntExW(LPCWSTR lpszStr, DWORD dwFlags, LPINT lpiRet)
WARN("Invalid parameter would crash under Win32!\n");
return FALSE;
}
if (dwFlags > STIF_SUPPORT_HEX)
{
WARN("Unknown flags (%08X)!\n", dwFlags & ~STIF_SUPPORT_HEX);
}
if (dwFlags > STIF_SUPPORT_HEX) WARN("Unknown flags %08x\n", dwFlags);
/* Skip leading space, '+', '-' */
while (isspaceW(*lpszStr)) lpszStr++;