Browse Source

Update uint256.h

Addresses load of misaligned address for type 'const uint32_t' #1246
pull/4/head
Robert C. Seacord 8 years ago
committed by GitHub
parent
commit
c4cbee4381
  1. 2
      src/uint256.h

2
src/uint256.h

@ -19,7 +19,7 @@ class base_blob
{ {
protected: protected:
enum { WIDTH=BITS/8 }; enum { WIDTH=BITS/8 };
uint8_t data[WIDTH]; alignas(uint32_t) uint8_t data[WIDTH];
public: public:
base_blob() base_blob()
{ {

Loading…
Cancel
Save