Support Board
Date/Time: Mon, 13 Jan 2025 06:20:45 +0000
Post From: Minor issue is DTCProtocolVLS.h
[2017-03-31 19:56:29] |
Al SC Developer - Posts: 434 |
There is a minor set of warnings in DTCProtocolVLS.h: warning C4244: 'argument': conversion from 'unsigned int' to 'uint16_t', possible loss of data These are all the same issue, in the AddXXX() routines. For example void AddServerOrderID(unsigned int StringLength)
should be void AddServerOrderID(uint16_t StringLength)
Simple replace all ("(unsigned int StringLength)" -> "(uint16_t StringLength)") will fix all warnings. Seeing in VS2015 project. |