mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
In sys/compat/ndis/subr_ntoskrnl.c, change the RtlFillMemory function
definition from K&R to ANSI, to avoid a clang warning about the uint8_t parameter being promoted to int, which is not compatible with the type declared in the earlier prototype. MFC after: 1 week
This commit is contained in:
parent
4bd1b55756
commit
84143cee4f
1 changed files with 1 additions and 4 deletions
|
|
@ -3016,10 +3016,7 @@ RtlSecureZeroMemory(dst, len)
|
|||
}
|
||||
|
||||
static void
|
||||
RtlFillMemory(dst, len, c)
|
||||
void *dst;
|
||||
size_t len;
|
||||
uint8_t c;
|
||||
RtlFillMemory(void *dst, size_t len, uint8_t c)
|
||||
{
|
||||
memset(dst, c, len);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue