Commit c124981b authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avutil/cast5: Avoid undefined shift of uint32_t by 32 places

Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent e2d397a9
......@@ -32,7 +32,7 @@
#define IC(x) (((x) >> 8) & 0xff)
#define ID(x) ((x) & 0xff)
#define LR(x, c) (((x) << (c)) | ((x) >> (32 - (c))))
#define LR(x, c) (((x) << (c)) | ((x) >> ((32 - (c)) & 31)))
#define F3(l, r, i) \
do { \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment