mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00
- Fix unsigned/signed compare, spotted by Christoph
svn path=/trunk/; revision=44062
This commit is contained in:
parent
a9f0dd5a8d
commit
ccd3b00fd2
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ HalpAllocateArray(IN ULONG ArraySize)
|
||||||
ULONG Size;
|
ULONG Size;
|
||||||
|
|
||||||
/* Compute array size */
|
/* Compute array size */
|
||||||
if (ArraySize == -1) ArraySize = 0;
|
if (ArraySize == MAXULONG) ArraySize = 0;
|
||||||
Size = ArraySize * sizeof(PARRAY) + sizeof(ARRAY);
|
Size = ArraySize * sizeof(PARRAY) + sizeof(ARRAY);
|
||||||
|
|
||||||
/* Allocate the array */
|
/* Allocate the array */
|
||||||
|
|
Loading…
Reference in a new issue