[REACTOS] Fix a number of MSVC warnings

This commit is contained in:
Timo Kreuzer 2021-06-29 18:50:15 +02:00
parent b1c6c91d1f
commit 5d8e834897
43 changed files with 175 additions and 86 deletions

View file

@ -6,7 +6,7 @@
*/
__int64 CDECL _wtoi64_l(const wchar_t *str, _locale_t locale)
{
ULONGLONG RunningTotal = 0;
LONGLONG RunningTotal = 0;
BOOL bMinus = FALSE;
while (iswctype((int)*str, _SPACE)) {
@ -191,7 +191,7 @@ unsigned __int64 CDECL _wcstoui64_l(const wchar_t *nptr,
if(endptr)
*endptr = (wchar_t*)nptr;
return negative ? -ret : ret;
return negative ? -(__int64)ret : ret;
}
/*********************************************************************