Skip to content
Snippets Groups Projects
Commit 3c75605f authored by scott snyder's avatar scott snyder
Browse files

LArByteStream: Avoid undefined behavior.

Left-shift of a negative value is undefined.
Rewrite to use multiplication, which is well-defined
(and compiles to the same thing on x86_64).



Former-commit-id: 06fe30e1
parent 38b01c48
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