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

Identifier: Preserve invalid 32-bit values.

When we initialize an Identifier from a 32-bit value, make sure
to preserve invalid values.  We were just shifting left by 32 bits,
which means that the invalid 0xffffffff becomes 0xffffffff00000000,
for which is_valid() returns true.  This was causing us not to detect
some invalid identifiers after they were saved and reloaded.
parent cc2472f7
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