Skip to content

Pack booleans before integers, to avoid accidental mis-casting#9

Open
SoCuul wants to merge 1 commit intomalcommac:masterfrom
thinglabsoss:master
Open

Pack booleans before integers, to avoid accidental mis-casting#9
SoCuul wants to merge 1 commit intomalcommac:masterfrom
thinglabsoss:master

Conversation

@SoCuul
Copy link
Copy Markdown

@SoCuul SoCuul commented Apr 28, 2026

I noticed that booleans end up getting packed as a 0 or 1 instead of a boolean value since the boolean value gets cast to an integer. This fixes that behaviour by packing booleans before integers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant