mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:22:59 +00:00
[0.4.12] [WIN32SS][NTGDI] CORE-15755 commit 3 of 3
Delete unnecessary (ULONG) cast
cherry picked from commit 0.4.13-dev-11-g
983cd57c1e
This commit is contained in:
parent
264c790160
commit
12fc3687b8
1 changed files with 1 additions and 1 deletions
|
@ -5498,7 +5498,7 @@ NtGdiGetFontFamilyInfo(HDC Dc,
|
|||
|
||||
/* Allocate space for a safe copy */
|
||||
Status = RtlULongMult(SafeInfoCount, sizeof(FONTFAMILYINFO), &DataSize);
|
||||
if (!NT_SUCCESS(Status) || (ULONG)DataSize > LONG_MAX)
|
||||
if (!NT_SUCCESS(Status) || DataSize > LONG_MAX)
|
||||
{
|
||||
DPRINT1("Overflowed.\n");
|
||||
EngSetLastError(ERROR_INVALID_PARAMETER);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue