mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:43:04 +00:00
[ROSTESTS] fix x64 build and fix/disable warnings
This commit is contained in:
parent
6a67450893
commit
42d2d5ec9c
56 changed files with 229 additions and 171 deletions
|
@ -1367,15 +1367,16 @@ protected:
|
|||
// get the total size of a multistring
|
||||
static ULONG _GetMultiStringSize(LPCTSTR pszz)
|
||||
{
|
||||
int count = 0;
|
||||
size_t count = 0;
|
||||
do
|
||||
{
|
||||
int len = _tcslen(pszz);
|
||||
size_t len = _tcslen(pszz);
|
||||
count += len + 1;
|
||||
pszz += len + 1;
|
||||
} while (*pszz != TEXT('\0'));
|
||||
++count;
|
||||
return count * sizeof(TCHAR);
|
||||
ATLASSERT(count * sizeof(TCHAR) <= ULONGMAX);
|
||||
return (ULONG)count * sizeof(TCHAR);
|
||||
}
|
||||
|
||||
// delete key recursively
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue