mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix the previous commit to only copy the data we were asked to and not
twice as much. Spotted by: Taku YAMAMOTO
This commit is contained in:
parent
e84a11e7ff
commit
00c5291f29
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@
|
|||
static __inline void
|
||||
copyw(uint16_t *src, uint16_t *dst, size_t size)
|
||||
{
|
||||
size >>= 1;
|
||||
while (size--)
|
||||
*dst++ = *src++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue