Fixed argument type compiler warnings of the bcopy() call using type casting.

This commit is contained in:
likewise 2002-11-24 22:27:10 +00:00
parent 0442c1e228
commit c73606309f

View File

@ -709,7 +709,7 @@ tcp_seg_copy(struct tcp_seg *seg)
if(cseg == NULL) {
return NULL;
}
bcopy(seg, cseg, sizeof(struct tcp_seg));
bcopy((const char *)seg, (char *)cseg, sizeof(struct tcp_seg));
pbuf_ref(cseg->p);
return cseg;
}