mirror of
https://github.com/MariaDB/server.git
synced 2025-09-11 05:52:26 +03:00
Shifting a 16-bit type by 16 bits is undefined behaviour. The result is at least 32 bits, so let us cast the shift operand to a wider type before shifting.