mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[WIN32SS][NTGDI] Delete unnecessary (ULONG) cast CORE-15755
This commit is contained in:
parent
bc9f3ed887
commit
983cd57c1e
1 changed files with 1 additions and 1 deletions
|
@ -5492,7 +5492,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…
Reference in a new issue