mariusbancila / stduuid

A C++17 cross-platform implementation for UUIDs
MIT License
758 stars 112 forks source link

I believe this fixes an alignment issue. #62

Closed NovaSmoof closed 2 years ago

NovaSmoof commented 2 years ago

I believe the second issue referenced in #27 is due to the fact that the bytes array is casted to a uint32_t *, which may cause an alignment issue. So this should force the compiler to align it as if it were a uint32_t array.