mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[SACDRV]
- Fix unsigned vs 0 comparison svn path=/trunk/; revision=61464
This commit is contained in:
parent
d74ae58924
commit
8c19f17ac0
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ GetTListInfo(IN PSAC_SYSTEM_INFORMATION SacInfo,
|
|||
|
||||
/* Make sure it's at least big enough to hold the static structure */
|
||||
BufferLength = InputSize - sizeof(SAC_SYSTEM_INFORMATION);
|
||||
if ((INT)InputSize - sizeof(SAC_SYSTEM_INFORMATION) < 0)
|
||||
if (InputSize < sizeof(SAC_SYSTEM_INFORMATION))
|
||||
{
|
||||
SAC_DBG(SAC_DBG_ENTRY_EXIT, "Exiting, no memory (2).\n");
|
||||
return STATUS_NO_MEMORY;
|
||||
|
|
Loading…
Reference in a new issue