Commit 7c5b92c4 by Kaveh R. Ghazi Committed by Kaveh Ghazi

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

From-SVN: r40862
parent 5b5c2734
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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment