Commit 51bba9ee authored by Alexandre Julliard's avatar Alexandre Julliard

shlwapi: Fix some printf format warnings.

parent 902915f6
...@@ -865,10 +865,7 @@ BOOL WINAPI StrToIntExA(LPCSTR lpszStr, DWORD dwFlags, LPINT lpiRet) ...@@ -865,10 +865,7 @@ BOOL WINAPI StrToIntExA(LPCSTR lpszStr, DWORD dwFlags, LPINT lpiRet)
WARN("Invalid parameter would crash under Win32!\n"); WARN("Invalid parameter would crash under Win32!\n");
return FALSE; return FALSE;
} }
if (dwFlags > STIF_SUPPORT_HEX) if (dwFlags > STIF_SUPPORT_HEX) WARN("Unknown flags %08x\n", dwFlags);
{
WARN("Unknown flags (%08X)!\n", dwFlags & ~STIF_SUPPORT_HEX);
}
/* Skip leading space, '+', '-' */ /* Skip leading space, '+', '-' */
while (isspace(*lpszStr)) while (isspace(*lpszStr))
...@@ -935,10 +932,7 @@ BOOL WINAPI StrToIntExW(LPCWSTR lpszStr, DWORD dwFlags, LPINT lpiRet) ...@@ -935,10 +932,7 @@ BOOL WINAPI StrToIntExW(LPCWSTR lpszStr, DWORD dwFlags, LPINT lpiRet)
WARN("Invalid parameter would crash under Win32!\n"); WARN("Invalid parameter would crash under Win32!\n");
return FALSE; return FALSE;
} }
if (dwFlags > STIF_SUPPORT_HEX) if (dwFlags > STIF_SUPPORT_HEX) WARN("Unknown flags %08x\n", dwFlags);
{
WARN("Unknown flags (%08X)!\n", dwFlags & ~STIF_SUPPORT_HEX);
}
/* Skip leading space, '+', '-' */ /* Skip leading space, '+', '-' */
while (isspaceW(*lpszStr)) lpszStr++; while (isspaceW(*lpszStr)) lpszStr++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment