mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 15:38:06 +01:00
x86bios_alloc(): Unsign a counter.
The value can't even be signed so we can avoid the signed vs. unsigned comparison. Reviewed by: jkim
This commit is contained in:
parent
fd7af143e2
commit
5cb9d60e30
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298801
@ -119,7 +119,7 @@ void *
|
||||
x86bios_alloc(uint32_t *offset, size_t size, int flags)
|
||||
{
|
||||
void *vaddr;
|
||||
int i;
|
||||
u_int i;
|
||||
|
||||
if (offset == NULL || size == 0)
|
||||
return (NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user