X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ed031c1df2f5b053b9cd9f48c63e66a42b7c049e..6380d057f8911f5d09bdffff4220aa9602df49e2:/Demos/Device/RNDISEthernet/TCP.h diff --git a/Demos/Device/RNDISEthernet/TCP.h b/Demos/Device/RNDISEthernet/TCP.h index 21254859e..d4b72a519 100644 --- a/Demos/Device/RNDISEthernet/TCP.h +++ b/Demos/Device/RNDISEthernet/TCP.h @@ -221,10 +221,10 @@ uint32_t SequenceNumber; /**< Data sequence number of the packet */ uint32_t AcknowledgmentNumber; /**< Data acknowledgment number of the packet */ - unsigned int Reserved : 4; /**< Reserved, must be all 0 */ - unsigned int DataOffset : 4; /**< Offset of the data from the start of the header, in 4 byte chunks */ + unsigned char Reserved : 4; /**< Reserved, must be all 0 */ + unsigned char DataOffset : 4; /**< Offset of the data from the start of the header, in 4 byte chunks */ uint8_t Flags; /**< TCP packet flags */ - uint16_t WindowSize; /**< Current data window size (bytes remaning in reception buffer) */ + uint16_t WindowSize; /**< Current data window size (bytes remaining in reception buffer) */ uint16_t Checksum; /**< TCP checksum */ uint16_t UrgentPointer; /**< Urgent data pointer */