On 03/08/2018 15:22, Robert Elz wrote:
Whether there need to be any attention to the possibility of a malformed packet I will leave for Roy to decide (I am assuming probably not) but that added cast just looks to be a bandaid for a broken compiler (sanitiser).
The contents are verified further up the stack.I'm inclined to agree it's a dodgy compiler warning, but I'm not really an expert here.
Roy