Auto merge of #1248 - rcseacord:rcseacord-patch-4, r=ebfull

Update uint256.h

Addresses load of misaligned address for type 'const uint32_t' #1246
This commit is contained in:
zkbot
2016-08-22 00:12:48 +00:00

View File

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