mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 12:14:32 +00:00
[ATL] Fix an ATLASSERT expression
This commit is contained in:
parent
00ac9e763e
commit
a37b5b2f39
1 changed files with 1 additions and 1 deletions
|
@ -1375,7 +1375,7 @@ protected:
|
|||
pszz += len + 1;
|
||||
} while (*pszz != TEXT('\0'));
|
||||
++count;
|
||||
ATLASSERT(count * sizeof(TCHAR) <= ULONGMAX);
|
||||
ATLASSERT(count * sizeof(TCHAR) <= ULONG_MAX);
|
||||
return (ULONG)count * sizeof(TCHAR);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue