Skip to content
Snippets Groups Projects
Commit 8b19ae07 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

crc: fix signed overflow


This fixes a signed overflow from i << 24 when i == 255 by
making i unsigned.  The result of the shift is already
assigned to an variable of unsigned type.

Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
parent 0836d48a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment