You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #120: proxy-types.h: add static_assert to detect int/enum size mismatch
110349f test: Add coverage for enum/int conversions (Ryan Ofsky)
bbc80ab proxy-types.h: add static_assert to detect when an int fields is too small to hold an enum value (Ryan Ofsky)
Pull request description:
Add static_assert to detect when an int field is too small to hold an enum value
This catches the bug TheCharlatan pointed out in bitcoin/bitcoin#29409 (comment)
Top commit has no ACKs.
Tree-SHA512: cc0adc905e6a6fbd89dd970e5b6675279a514c4e47579b2ef6617c76f0cb18a50dc56539dac300dd89939d5b65cae2e1967c5fae2926b25fe0d36609e86ecb86
0 commit comments