Skip to content
Snippets Groups Projects
Commit d279368c authored by Ilya Verbin's avatar Ilya Verbin Committed by Serge Petrenko
Browse files

salad: light: fix LIGHT(slot)() for table sizes > 2^31

This function contains a bitwise optimization that returns wrong result
when table size is greater than 2^31. E.g., if table size is 0xB0000000
and hash is 0, it returns 0x80000000 instead of 0. Fix it.

Needed for #9864

NO_DOC=see next commit
NO_CHANGELOG=see next commit
parent e048a502
No related branches found
No related tags found
No related merge requests found
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