https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a37b5b2f392b94790bdb2…
commit a37b5b2f392b94790bdb2ecc0a3ac9ddafcd84a4
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Tue Mar 17 20:53:26 2020 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sat Apr 4 19:55:31 2020 +0200
[ATL] Fix an ATLASSERT expression
---
sdk/lib/atl/atlbase.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/lib/atl/atlbase.h b/sdk/lib/atl/atlbase.h
index 7edacf328e9..fa3cf72cd8a 100644
--- a/sdk/lib/atl/atlbase.h
+++ b/sdk/lib/atl/atlbase.h
@@ -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);
}