* sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.

From-SVN: r40862
This commit is contained in:
Kaveh R. Ghazi 2001-03-27 03:37:03 +00:00 committed by Kaveh Ghazi
parent 5b5c273405
commit 7c5b92c459
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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. */