Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: tcp/tcpsend.c
- Revision:
- 155:22f249751106
- Parent:
- 154:ba9879b19d9f
- Child:
- 156:be12b8fd5b21
--- a/tcp/tcpsend.c Wed Jul 31 15:10:53 2019 +0000 +++ b/tcp/tcpsend.c Tue Aug 20 14:49:00 2019 +0000 @@ -46,7 +46,7 @@ static bool addAppData(int *pDataLength, void* pPacket, uint16_t port, uint32_t start, int mss, char* pAppState, char* pTlsState, bool clientFinished) { - char* pData = (char*)pPacket + TcpHdrSizeGet(); + uint8_t* pData = (uint8_t*)pPacket + TcpHdrSizeGet(); TcpBufStart(start, mss, pData); bool finished = false; switch (port)