bcopy -> memmove (where possibly overwrapped)
This commit is contained in:
parent
89e8e735e6
commit
d7aded87fa
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: itevar.h,v 1.28 2009/03/18 16:00:11 cegger Exp $ */
|
||||
/* $NetBSD: itevar.h,v 1.29 2009/04/18 16:20:43 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990, 1993
|
||||
|
@ -145,8 +145,8 @@ struct ite_softc {
|
|||
memset(ip->attrbuf + ((sy) * ip->cols) + (sx), 0, (h) * (w))
|
||||
|
||||
#define attrmov(ip, sy, sx, dy, dx, h, w) \
|
||||
bcopy(ip->attrbuf + ((sy) * ip->cols) + (sx), \
|
||||
ip->attrbuf + ((dy) * ip->cols) + (dx), \
|
||||
memmove(ip->attrbuf + ((dy) * ip->cols) + (dx), \
|
||||
ip->attrbuf + ((sy) * ip->cols) + (sx), \
|
||||
(h) * (w))
|
||||
|
||||
#define attrtest(ip, attr) \
|
||||
|
|
Loading…
Reference in New Issue