On 17/07/2023 3:13 pm, Jan Beulich wrote: > Not exactly overlapping accesses to objects on the left and right hand > sides of an assignment are generally UB, and hence disallowed by Misra. > While in the specific cases we're talking about here no actual UB can > result as long as the compiler doesn't act actively "maliciously", let's > still switch to using casts combined with exactly overlapping accesses. > > Signed-off-by: Jan Beulich <[email protected]>
Reviewed-by: Andrew Cooper <[email protected]>
