Skip to content
Commit bd96b5dd authored by Robert Lubos's avatar Robert Lubos Committed by Daniel DeGrasse
Browse files

net: lib: websocket: Avoid bitshift overflow warning



In order to prevent an overflow warning from UBSAN when bitshifting,
cast to uint64_t first before shifting, and then back to uint32_t.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent c7757b98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment