mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +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.