diff options
Diffstat (limited to 'sys/dev/fb/fbreg.h')
-rw-r--r-- | sys/dev/fb/fbreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fb/fbreg.h b/sys/dev/fb/fbreg.h index ac9a6c3..c9689d3 100644 --- a/sys/dev/fb/fbreg.h +++ b/sys/dev/fb/fbreg.h @@ -39,6 +39,7 @@ static __inline void copyw(uint16_t *src, uint16_t *dst, size_t size) { + size >>= 1; while (size--) *dst++ = *src++; } |