mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-04-16 08:43:17 +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) {
|
if(cseg == NULL) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
bcopy(seg, cseg, sizeof(struct tcp_seg));
|
bcopy((const char *)seg, (char *)cseg, sizeof(struct tcp_seg));
|
||||||
pbuf_ref(cseg->p);
|
pbuf_ref(cseg->p);
|
||||||
return cseg;
|
return cseg;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user