[SHLWAPI] Use an explicit "int*" type for the 3rd parameter of StrToIntExA/W

As this is already present in our PSDK shlwapi.h header, MS PSDK one, and MSDN.
This commit is contained in:
Hermès Bélusca-Maïto 2024-12-23 21:56:17 +01:00
parent c19ebd0b0a
commit d7f1a784a8
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -883,7 +883,7 @@ int WINAPI StrToIntW(LPCWSTR lpszStr)
* the string is treated as a decimal string. A leading '-' is ignored for
* hexadecimal numbers.
*/
BOOL WINAPI StrToIntExA(LPCSTR lpszStr, DWORD dwFlags, LPINT lpiRet)
BOOL WINAPI StrToIntExA(LPCSTR lpszStr, DWORD dwFlags, int *lpiRet)
{
LONGLONG li;
BOOL bRes;
@ -967,7 +967,7 @@ BOOL WINAPI StrToInt64ExA(LPCSTR lpszStr, DWORD dwFlags, LONGLONG *lpiRet)
*
* See StrToIntExA.
*/
BOOL WINAPI StrToIntExW(LPCWSTR lpszStr, DWORD dwFlags, LPINT lpiRet)
BOOL WINAPI StrToIntExW(LPCWSTR lpszStr, DWORD dwFlags, int *lpiRet)
{
LONGLONG li;
BOOL bRes;