wc-duck / datalibrary

Open Source Data Library for data serialization.
Other
42 stars 8 forks source link

Fixed static assert issue for enums smaller than default #162

Closed ElementalAndy closed 1 year ago

Tisten commented 1 year ago

This fix solves C++ compilation when the size isn't 4, but breaks compilation in C. I will create another PR with a better fix https://github.com/wc-duck/datalibrary/pull/163

ElementalAndy commented 1 year ago

Great, thanks! I will kill this one then.