* sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
From-SVN: r40862
This commit is contained in:
parent
5b5c273405
commit
7c5b92c459
@ -1,3 +1,7 @@
|
||||
2001-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
|
||||
|
||||
2001-03-27 Alan Modra <alan@linuxcare.com.au>
|
||||
|
||||
* except.c (eh_regs): Save results of build_pointer_type to a temp
|
||||
|
@ -96,8 +96,7 @@ void
|
||||
sbitmap_copy (dst, src)
|
||||
sbitmap dst, src;
|
||||
{
|
||||
bcopy ((PTR) src->elms, (PTR) dst->elms,
|
||||
sizeof (SBITMAP_ELT_TYPE) * dst->size);
|
||||
memcpy (dst->elms, src->elms, sizeof (SBITMAP_ELT_TYPE) * dst->size);
|
||||
}
|
||||
|
||||
/* Zero all elements in a bitmap. */
|
||||
|
Loading…
Reference in New Issue
Block a user