mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
Fixed argument type compiler warnings of the bcopy() call using type casting.
This commit is contained in:
parent
0442c1e228
commit
c73606309f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user